googlecalendar

Create Event

TOOL
Slug
GOOGLECALENDAR_CREATE_EVENT
Version
20261125_00
Toolkit
googlecalendar
Creates a timed or all-day Google Calendar event and returns it under response_data, without conflict checking. send_updates defaults to "all", which emails all attendees; for eligible event types, the organizer is added unless excluded and a Google Meet link is requested by defa…
summary
STRING
Summary (title) of the event.
end_date
STRING
Exclusive end date for an all-day event in YYYY-MM-DD format. Must be provided together with start_date and be later than start_date.
location
STRING
Geographic location of the event as free-form text.
timezone
STRING
IANA timezone name from the timezone database (e.g., 'America/New_York', 'Europe/London', 'Asia/Jerusalem', 'UTC'). Required if datetime is naive. For recurring events, start and end must include a timeZone. If not provided, UTC is used. If datetime includes timezone info (Z or offset), this field is optional and defaults to UTC. IMPORTANT: Must be a valid IANA timezone identifier. Values like 'EST', 'PST', 'ISRAEL TIME', or other abbreviations are NOT valid IANA timezone names.
attendees
ARRAY
List of attendees. Each attendee can be either: (1) A string email address (e.g., 'user@example.com'), or (2) An object with 'email' (required), 'optional' (boolean, default false), 'displayName' (string), 'comment' (string), 'additionalGuests' (integer), and 'resource' (boolean). To mark an attendee as optional (not required), use object format: {'email': 'user@example.com', 'optional': true}. IMPORTANT: Only valid email addresses are accepted. Plain names cannot be used.
eventType
STRING
Type of the event, immutable post-creation. 'workingLocation' (REQUIRES Google Workspace Enterprise). Note: 'fromGmail' events cannot be created via API.
Options: birthday, default, focusTime, outOfOffice, workingLocation
Default: "default"
recurrence
ARRAY<STRING>
List of RRULE, EXRULE, RDATE, EXDATE lines for recurring events. Supported frequencies: DAILY, WEEKLY, MONTHLY, YEARLY. For recurring events, start.timeZone and end.timeZone must be present. UNTIL values follow RFC 5545: date-only (YYYYMMDD) for all-day events, or UTC datetime with Z suffix (YYYYMMDDTHHMMSSZ) for timed events. UNTIL values with time but missing Z suffix are auto-corrected. Provide an empty list to remove recurrence so the event becomes non-recurring.
start_date
STRING
Inclusive start date for an all-day event in YYYY-MM-DD format. Must be provided together with end_date and without start_datetime or end_datetime.
visibility
STRING
Event visibility: 'default', 'public', 'private', or 'confidential'.
Options: default, public, private, confidential
Default: "default"
calendar_id
STRING
Calendar identifier. Use 'primary' (recommended) for the user's main calendar. Alternatively, use a calendar ID from the user's accessible calendar list. Calendar IDs look like email addresses (e.g., 'xyz@group.calendar.google.com' for shared calendars). Important: Arbitrary email addresses will NOT work - the calendar must exist in the user's calendar list with appropriate access permissions. Use GOOGLECALENDAR_LIST_CALENDARS to retrieve valid calendar IDs.
Default: "primary"
description
STRING
Description of the event. Can contain HTML. Optional. Must be omitted for 'birthday' event type.
end_datetime
STRING
Event end time in ISO 8601 format: YYYY-MM-DDTHH:MM:SS. When provided, this parameter takes precedence over event_duration_hour and event_duration_minutes. If not provided, the end time is calculated using start_datetime + duration. Must be after start_datetime. Explicit timezone information (Z or an offset) is preserved; offset-less values are interpreted in `timezone`, or UTC when it is omitted.
send_updates
STRING
Options for who should receive notifications about event changes.
Options: all, externalOnly, none
transparency
STRING
'opaque' (busy) or 'transparent' (available).
Options: opaque, transparent
Default: "opaque"
start_datetime
STRING
Event start time in ISO 8601 format: YYYY-MM-DDTHH:MM:SS. Required for timed events; omit it when using start_date and end_date for an all-day event.
guestsCanModify
BOOLEAN
If True, guests can modify the event.
exclude_organizer
BOOLEAN
If True, the organizer will NOT be added as an attendee. Default is False (organizer is included).
Default: false
birthdayProperties
OBJECT
Properties for birthday events.
type
STRING
Type of birthday event: 'birthday', 'anniversary', or 'other'. Defaults to 'birthday'.
Options: birthday, anniversary, other
Default: "birthday"
contact
STRING
Contact ID in format 'people/c12345' from Google People API. REQUIRED when type is 'anniversary' or 'other'. MUST BE OMITTED when type is 'birthday' (the API forbids contact field for type='birthday').
customTypeName
STRING
Custom type name when type is 'other'. Requires valid contact field.
create_meeting_room
BOOLEAN
Defaults to True. When True, for CREATE operations creates a Google Meet link; for UPDATE operations preserves existing conference data if present, or adds a new Meet link if none exists. Google Workspace accounts will successfully receive a Meet link. Personal Gmail accounts and other unsupported accounts will gracefully fallback to creating an event without a Meet link when conference creation fails. Set to False to skip Meet link operations (won't create new or modify existing conference data). The fallback ensures event creation succeeds even when conference features are unavailable due to account limitations.
Default: true
event_duration_hour
INTEGER
Number of hours for the event duration. Supports multi-day events (e.g., 240 hours = 10 days). For durations under 1 hour, use event_duration_minutes instead. Ignored if end_datetime is provided.
Default: 0
extended_properties
OBJECT
Extended properties of the event for storing custom metadata. Contains 'private' (visible only on this calendar) and/or 'shared' (visible to all attendees) dictionaries mapping string keys to string values. Example: {'private': {'key1': 'value1'}, 'shared': {'key2': 'value2'}}
focusTimeProperties
OBJECT
Properties for focusTime events. REQUIRES Google Workspace Enterprise account with Focus Time feature enabled.
chatStatus
STRING
Chat status during focus time: 'active' or 'doNotDisturb'.
Options: active, doNotDisturb
declineMessage
STRING
Message to include in declined meeting invitations. Only used when autoDeclineMode is set.
autoDeclineMode
STRING
Auto decline mode: 'declineNone' (no invitations declined), 'declineAllConflictingInvitations' (all conflicting invitations declined), or 'declineOnlyNewConflictingInvitations' (only new conflicting invitations declined).
Options: declineNone, declineAllConflictingInvitations, declineOnlyNewConflictingInvitations
guestsCanInviteOthers
BOOLEAN
Whether attendees other than the organizer can invite others to the event.
outOfOfficeProperties
OBJECT
Properties for outOfOffice events.
declineMessage
STRING
Message to include in declined meeting invitations. Only used when autoDeclineMode is set.
autoDeclineMode
STRING
Auto decline mode: 'declineNone' (no invitations declined), 'declineAllConflictingInvitations' (all conflicting invitations declined), or 'declineOnlyNewConflictingInvitations' (only new conflicting invitations declined). RECURRING EVENT RESTRICTION: For recurring out-of-office events, ONLY 'declineOnlyNewConflictingInvitations' is allowed. Cannot use 'declineAllConflictingInvitations' for recurring OOO (Google Calendar prevents retroactively declining existing meetings). REQUIRES Google Workspace (paid business subscription, e.g., Business Starter at $6/user/month). Personal Gmail accounts cannot use this feature.
Options: declineNone, declineAllConflictingInvitations, declineOnlyNewConflictingInvitations
event_duration_minutes
INTEGER
Duration in minutes (0-59 ONLY). NEVER use 60+ minutes - use event_duration_hour=1 instead. Maximum value is 59. Combined duration (hours + minutes) must be greater than 0. Ignored if end_datetime is provided.
Default: 30
guestsCanSeeOtherGuests
BOOLEAN
Whether attendees other than the organizer can see who the event's attendees are.
workingLocationProperties
OBJECT
Properties for workingLocation events. REQUIRES Google Workspace Enterprise. Constraints discovered from testing: - Must set transparency='transparent' and visibility='public' - Description must be omitted - Depending on 'type', include one of 'homeOffice', 'officeLocation', or 'customLocation'
typerequired
STRING
Type of working location ('homeOffice' | 'officeLocation' | 'customLocation').
Options: homeOffice, officeLocation, customLocation
homeOffice
OBJECT
Empty object marker for home office working location. This is used to indicate the user is working from home. Google Calendar API accepts an empty object for this field.
customLocation
OBJECT
Custom working location with a display label.
labelrequired
STRING
Label for a custom working location (e.g., 'Client site').
officeLocation
OBJECT
Office-based working location details.
label
STRING
Office name displayed in Calendar clients (e.g., building name).
deskId
STRING
Optional desk identifier.
floorId
STRING
Optional floor identifier.
buildingId
STRING
Optional building identifier from org Resources.
floorSectionId
STRING
Optional floor section identifier.