Calendar Create Event
calendar_create_eventCreates a calendar event with optional guests, Meet link, reminders, attachments or recurrence. It checks the calendar's busy times first, so an overlapping time returns a conflict and creates nothing.
Instructions
Create an event on one calendar, optionally with guests, a Meet link, reminders, attachments or a recurrence rule. The time is first checked against that calendar's busy times only, and an overlap fails with a conflict error that creates nothing; to plan around other people's calendars use calendar_find_free_time first. Returns status 'ok', event (id, title, start and end in the event's timezone, url, meeting_url, attendees and the other calendar_read_events fields), deduplicated (true when idempotency_key matched an existing event) and warnings, non-empty when the conflict check could not run. An event with guests asks the user to confirm first; they are emailed only as send_updates says.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"end_datetime": "<end_datetime>",
"start_datetime": "<start_datetime>",
"summary": "<summary>"
},
"name": "calendar_create_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Event title shown on the calendar. | |
| color_id | No | Event color ID from '1' to '11' (Google Calendar's fixed event palette); omit to use the calendar's color. | |
| location | No | Free-text location, e.g. an address or a room name. | |
| timezone | No | IANA time zone, e.g. 'America/New_York', used to read naive start/end values and stored as the event's time zone (a recurrence repeats in it); defaults to the account's calendar time zone. | |
| attendees | No | Guests to invite, each {email, displayName, optional, comment, additionalGuests}; whether they are emailed depends on send_updates. | |
| reminders | No | Reminders with their method, at most 5, each {minutes (0 to 40320, minutes before the start), method ('popup' or 'email', an email to the calendar's owner)}, e.g. [{"minutes": 1440, "method": "email"}, {"minutes": 10, "method": "popup"}]. An empty list sets no reminders; omit it to use the calendar's default reminders. Use instead of reminder_minutes; passing both is an error. | |
| recurrence | No | RFC 5545 recurrence lines, e.g. ['RRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10']; EXDATE and RDATE lines are also accepted. | |
| visibility | No | Who can see the event's details: 'default' (the calendar's setting), 'public', 'private' or 'confidential'. | default |
| attachments | No | Files to attach, up to 25, each {file_url, title, mime_type, icon_link, file_id}; saved only while supports_attachments is true. | |
| calendar_id | No | Calendar ID: 'primary' for the user's main calendar, or an ID from calendar_get_calendar_context's calendars (often an email address). | primary |
| description | No | Event notes shown in the event details. | |
| on_conflict | No | Both values fail with a 'conflict' error and create nothing when the time overlaps busy time on calendar_id; the error's details.conflicting_events lists the busy periods. 'suggest_next_slot' also returns up to 5 free slots of the same length within 72 hours in details.suggested_slots. | fail |
| end_datetime | Yes | End time, in the same formats as start_datetime; must be after it. | |
| send_updates | No | Who Google emails the invitation: 'all' guests, 'externalOnly' (only guests who do not use Google Calendar) or 'none'. When omitted, Google's default of sending no notification applies. | |
| transparency | No | 'opaque' shows the time as busy; 'transparent' leaves it free in availability checks. | opaque |
| add_meet_link | No | True creates a new Google Meet link for the event, returned as the event's meeting_url. | |
| start_datetime | Yes | Start time: RFC3339 with offset, e.g. '2026-03-02T15:00:00-05:00', or a naive 'YYYY-MM-DDTHH:MM:SS' read in timezone. A bare 'YYYY-MM-DD' becomes midnight in timezone; all-day events cannot be created. | |
| idempotency_key | No | Caller-chosen key, 1 to 256 characters, that makes a retry safe: the event gets an ID derived from the key, so a repeat call with the same key returns the event already created (deduplicated true) instead of creating another, even if other arguments differ. | |
| reminder_minutes | No | Popup reminders, in minutes before the start (each 0 to 40320, at most 5), e.g. [10, 60]. An empty list sets no reminders; omit it to use the calendar's default reminders. | |
| supports_attachments | No | Tells Google this call handles event attachments (its supportsAttachments flag); leave true, attachments are only saved when it is true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| status | No | Machine-readable operation status. | |
| warnings | No | ||
| deduplicated | No |