Create a calendar event
create_calendar_eventCreate a new event in a connected Google or Apple calendar - typically an appointment found with find_free_slots. Requires the user's explicit approval and confirm: true: show the date, time and title first. Provide exactly one of end or durationMinutes. idempotencyKey is optional; sending the same value again returns the already-created event instead of a second one, so pass one whenever you may need to retry the same request. Checks the slot is still free right before writing - calendar_slot_taken means it no longer is, call find_free_slots again and offer another time. Same data as POST /v1/integrations/{id}/events (response schema in /openapi.json).
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": {
"integrationId": "<integrationId>",
"calendarId": "<calendarId>",
"start": "<start>",
"title": "<title>"
},
"name": "create_calendar_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the appointment, RFC 3339 with an offset. Provide exactly one of end or durationMinutes. | |
| start | Yes | Start of the appointment, RFC 3339 with an offset. | |
| title | Yes | Event title shown in the calendar. | |
| confirm | No | Must be true, confirming the user has explicitly approved this exact date, time and title. Without it the request is rejected with calendar_confirmation_required. | |
| calendarId | Yes | Calendar id from list_calendars, for example primary. | |
| description | No | Additional details about the appointment, shown next to the title in the calendar entry. | |
| integrationId | Yes | Id of the connection (int_...) from list_integrations. | |
| idempotencyKey | No | Optional booking key without control characters, semicolons, commas or backslashes. Sending the same value again returns the already-created event instead of creating a second one. | |
| busyCalendarIds | No | Other calendars in the same connection whose events also block a slot; nothing is written into them, so read-only calendars are fine. At most 4, without duplicates and without calendarId itself. | |
| durationMinutes | No | Length of the appointment in minutes. Provide exactly one of end or durationMinutes. |