{ "schema_version": "v1", "tools": [ { "name": "check_availability", "description": "Check availability within a time range. Returns busy periods and free slots\nof at least the requested duration.\n\nWhen attendee_emails is provided, only events where at least one of those\npeople is an attendee (and hasn't declined) are considered busy. This lets\nyou find times that work for specific people.\n\nArgs:\n timeMin: Start of the range to check (ISO format)\n timeMax: End of the range to check (ISO format)\n duration_minutes: Minimum free slot duration in minutes (default 30)\n calendar_id: Calendar to check. If omitted, checks all calendars.\n attendee_emails: Only consider events involving these attendees (optional)\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n Busy periods and available free slots within the range", "inputSchema": { "additionalProperties": false, "properties": { "timeMin": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, "timeMax": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, "duration_minutes": { "default": 30, "minimum": 1, "type": "integer" }, "calendar_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null }, "attendee_emails": { "anyOf": [ { "items": { "format": "email", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "timeMin", "timeMax" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "create_calendar", "description": "Creates a new calendar (e.g., 'Personal', 'Team Meetings', 'On-Call').\n\nArgs:\n summary: Calendar name\n description: Calendar description\n timeZone: IANA time zone for the calendar. Defaults to the primary calendar time zone.\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n The created calendar object", "inputSchema": { "additionalProperties": false, "properties": { "summary": { "minLength": 1, "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "create_event", "description": "Creates a new event in Google Calendar.\n\nArgs:\n summary: Event title\n start: Start time object with either 'dateTime' (ISO format, e.g. '2025-12-10T09:00:00-05:00')\n for timed events, or 'date' (YYYY-MM-DD, e.g. '2025-12-10') for all-day events.\n Optionally include 'timeZone' (e.g. 'America/New_York').\n end: End time object with either 'dateTime' or 'date' (same format as start).\n For all-day events, 'date' is exclusive (e.g. end '2025-12-11' means the event ends on 2025-12-10).\n description: Event description\n location: Event location\n calendar_id: Calendar to create the event in (default 'primary')\n recurrence: RRULE strings for recurring events (e.g., ['RRULE:FREQ=WEEKLY;BYDAY=TU;COUNT=10'])\n reminders: Reminder overrides, e.g. {\"useDefault\": false, \"overrides\": [{\"method\": \"popup\", \"minutes\": 15}]}\n attendees: List of attendees, e.g. [{\"email\": \"alice@co.com\", \"displayName\": \"Alice\"}]. responseStatus defaults to 'needsAction'.\n transparency: Whether the event blocks availability. 'opaque' is busy; 'transparent' is free.\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n The created event object with its ID", "inputSchema": { "additionalProperties": false, "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "calendar_id": { "default": "primary", "minLength": 1, "type": "string" }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "delete_event", "description": "Deletes an event from the calendar.\n\nArgs:\n eventId: ID of the event to delete\n calendar_id: Calendar containing the event (default 'primary')\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n Confirmation of deletion", "inputSchema": { "additionalProperties": false, "properties": { "eventId": { "minLength": 1, "type": "string" }, "calendar_id": { "default": "primary", "minLength": 1, "type": "string" }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "eventId" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "export_state", "description": "Export the full google_calendar state as JSON.\n\nRound-trips with import_state.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "outputSchema": { "properties": { "result": { "anyOf": [ { "additionalProperties": false, "description": "Full google_calendar state \u2014 round-trips with load_data()/save_data().", "properties": { "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" }, "calendars": { "additionalProperties": { "additionalProperties": false, "description": "Stored secondary calendar metadata and events.", "properties": { "summary": { "minLength": 1, "type": "string" }, "description": { "default": "", "type": "string" }, "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "required": [ "summary" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" }, { "additionalProperties": false, "description": "Multi-account google_calendar state wrapper.\n\nEach account is fully isolated: calendar IDs, event IDs, calendars, and\navailability/search state are scoped to the selected account.", "properties": { "accounts": { "additionalProperties": { "additionalProperties": false, "description": "Full google_calendar state \u2014 round-trips with load_data()/save_data().", "properties": { "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" }, "calendars": { "additionalProperties": { "additionalProperties": false, "description": "Stored secondary calendar metadata and events.", "properties": { "summary": { "minLength": 1, "type": "string" }, "description": { "default": "", "type": "string" }, "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "required": [ "summary" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" } ] } }, "required": [ "result" ], "type": "object", "x-fastmcp-wrap-result": true } }, { "name": "get_event", "description": "Retrieves details of a specific event.\n\nArgs:\n eventId: ID of the event to retrieve\n calendar_id: Calendar to look in (default 'primary')\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n The event object if found", "inputSchema": { "additionalProperties": false, "properties": { "eventId": { "minLength": 1, "type": "string" }, "calendar_id": { "default": "primary", "minLength": 1, "type": "string" }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "eventId" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "import_state", "description": "Replace the google_calendar state with the provided JSON.\n\nFor synthetic-data injection and test setup. Round-trips with export_state.", "inputSchema": { "additionalProperties": false, "properties": { "state": { "anyOf": [ { "additionalProperties": false, "description": "Full google_calendar state \u2014 round-trips with load_data()/save_data().", "properties": { "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" }, "calendars": { "additionalProperties": { "additionalProperties": false, "description": "Stored secondary calendar metadata and events.", "properties": { "summary": { "minLength": 1, "type": "string" }, "description": { "default": "", "type": "string" }, "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "required": [ "summary" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" }, { "additionalProperties": false, "description": "Multi-account google_calendar state wrapper.\n\nEach account is fully isolated: calendar IDs, event IDs, calendars, and\navailability/search state are scoped to the selected account.", "properties": { "accounts": { "additionalProperties": { "additionalProperties": false, "description": "Full google_calendar state \u2014 round-trips with load_data()/save_data().", "properties": { "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" }, "calendars": { "additionalProperties": { "additionalProperties": false, "description": "Stored secondary calendar metadata and events.", "properties": { "summary": { "minLength": 1, "type": "string" }, "description": { "default": "", "type": "string" }, "timeZone": { "default": "UTC", "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, "events": { "additionalProperties": { "additionalProperties": false, "description": "Full stored event with system-generated fields.", "properties": { "summary": { "minLength": 1, "type": "string" }, "start": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "end": { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "description": "Event status \u2014 mirrors Google Calendar API values.", "enum": [ "confirmed", "tentative", "cancelled" ], "type": "string" }, { "type": "null" } ], "default": null }, "colorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "visibility": { "anyOf": [ { "description": "Event visibility \u2014 mirrors Google Calendar API values.", "enum": [ "default", "public", "private", "confidential" ], "type": "string" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "eventType": { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string", "default": "default" }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "htmlLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hangoutLink": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "minLength": 1, "type": "string" }, "created": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "updated": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "summary", "start", "end", "id" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "required": [ "summary" ], "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" }, "propertyNames": { "minLength": 1 }, "type": "object" } }, "type": "object" } ] } }, "required": [ "state" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "list_accounts", "description": "List available isolated Google Calendar accounts.\n\nMulti-account worlds store each account as a fully separate calendar state.\nUse the returned ``account_id`` with other tools to select the account to\nread or mutate. Single-account worlds expose their only configured account.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "list_calendars", "description": "Lists all calendars. Always includes the 'primary' calendar plus any\nadditional calendars that have been created.\n\nReturns:\n List of calendars with their IDs, names, and event counts", "inputSchema": { "additionalProperties": false, "properties": { "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "list_events", "description": "Lists events within a specified time range.\n\nArgs:\n timeMin: Lower bound (exclusive) for an event's end time (ISO format).\n Events that end after this time are included.\n timeMax: Upper bound (exclusive) for an event's start time (ISO format).\n Events that start before this time are included.\n maxResults: Maximum number of events to return\n orderBy: Sort order ('startTime' or 'updated')\n calendar_id: Calendar to list events from. If omitted, lists events from all calendars.\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n List of events that overlap the given time range", "inputSchema": { "additionalProperties": false, "properties": { "timeMin": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, "timeMax": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, "maxResults": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null }, "orderBy": { "anyOf": [ { "description": "Sort options for search_events results.", "enum": [ "startTime", "updated" ], "type": "string" }, { "type": "null" } ], "default": null }, "calendar_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "timeMin", "timeMax" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "respond_to_event", "description": "Update an attendee's RSVP response on an event.\n\nArgs:\n eventId: ID of the event\n email: Email address of the attendee responding\n response: Response status \u2014 'accepted', 'declined', 'tentative', or 'needsAction'\n calendar_id: Calendar containing the event (default 'primary')\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n The updated event with attendee responses", "inputSchema": { "additionalProperties": false, "properties": { "eventId": { "minLength": 1, "type": "string" }, "email": { "format": "email", "type": "string" }, "response": { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, "calendar_id": { "default": "primary", "minLength": 1, "type": "string" }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "eventId", "email", "response" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } }, { "name": "search_events", "description": "Search calendar events by keyword, phrase, attendee, location, or calendar.\n\nArgs:\n query: Search query. Bare words are ANDed across summary, description,\n location, attendees, and calendar names. Quoted phrases require\n exact adjacency. May be empty when attendee_email is provided.\n timeMin: Optional lower bound (exclusive) for an event's end time.\n timeMax: Optional upper bound (exclusive) for an event's start time.\n calendar_id: Calendar to search. If omitted, searches all calendars.\n attendee_email: Optional attendee email or display-name substring.\n response_status: Optional attendee RSVP filter ('accepted', 'declined',\n 'tentative', or 'needsAction'). When attendee_email is\n provided, applies to that attendee; otherwise matches\n any attendee with that status.\n organizer_email: Optional organizer email substring.\n creator_email: Optional creator email substring.\n maxResults: Maximum number of matching events to return. 0 returns no results.\n orderBy: Sort order ('startTime', 'updated', or None).\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n Matching events with calendar_id annotated on each result.", "inputSchema": { "additionalProperties": false, "properties": { "query": { "default": "", "type": "string" }, "timeMin": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, { "type": "null" } ], "default": null }, "timeMax": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$", "type": "string" }, { "type": "null" } ], "default": null }, "calendar_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null }, "attendee_email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "response_status": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "organizer_email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "creator_email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "maxResults": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null }, "orderBy": { "anyOf": [ { "description": "Sort options for search_events results.", "enum": [ "startTime", "updated" ], "type": "string" }, { "type": "null" } ], "default": "startTime" }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "outputSchema": { "properties": { "status": { "type": "string" }, "message": { "type": "string" }, "events": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "count": { "type": "integer" }, "warnings": { "items": { "type": "string" }, "type": "array" }, "skipped_unparseable": { "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, { "name": "update_event", "description": "Updates an existing event.\n\nArgs:\n eventId: ID of the event to update\n summary: New event title\n start: New start time object with either 'dateTime' (ISO format) for timed events,\n or 'date' (YYYY-MM-DD) for all-day events. Optionally include 'timeZone'.\n end: New end time object with either 'dateTime' or 'date' (same format as start).\n description: New event description\n location: New event location\n calendar_id: Calendar containing the event (default 'primary')\n recurrence: RRULE strings for recurring events (pass empty list to remove recurrence)\n reminders: Reminder overrides (pass {\"useDefault\": true} to reset to defaults)\n attendees: Replace attendee list (pass empty list to remove all attendees)\n transparency: Whether the event blocks availability. 'opaque' is busy; 'transparent' is free.\n eventType: Event type to set. Switching types clears properties that only belong to the old type.\n clear_fields: Optional event fields to remove, e.g. ['source', 'transparency'].\n account_id: Calendar account to use in multi-account worlds. Defaults to the active account.\n\nReturns:\n The updated event object", "inputSchema": { "additionalProperties": false, "properties": { "eventId": { "minLength": 1, "type": "string" }, "summary": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null }, "start": { "anyOf": [ { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "end": { "anyOf": [ { "additionalProperties": false, "description": "Time specification for an event \u2014 mirrors the Google Calendar API shape.", "properties": { "dateTime": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$", "type": "string" }, { "type": "null" } ], "default": null }, "date": { "anyOf": [ { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, { "type": "null" } ], "default": null }, "timeZone": { "anyOf": [ { "description": "IANA time zone name, e.g. America/New_York", "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "calendar_id": { "default": "primary", "minLength": 1, "type": "string" }, "recurrence": { "anyOf": [ { "items": { "pattern": "^(?:RRULE|EXRULE|RDATE|EXDATE):", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "reminders": { "anyOf": [ { "additionalProperties": false, "description": "Reminder settings for an event.", "properties": { "useDefault": { "type": "boolean" }, "overrides": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Event reminder override \u2014 mirrors Google Calendar API values.", "properties": { "method": { "description": "Event reminder delivery methods supported by Google Calendar.", "enum": [ "email", "popup" ], "type": "string" }, "minutes": { "maximum": 40320, "minimum": 0, "type": "integer" } }, "required": [ "method", "minutes" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "useDefault" ], "type": "object" }, { "type": "null" } ], "default": null }, "attendees": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Attendee on an event \u2014 mirrors the Google Calendar API shape.", "properties": { "email": { "format": "email", "type": "string" }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "resource": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "optional": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "responseStatus": { "anyOf": [ { "description": "Attendee RSVP state \u2014 mirrors Google Calendar API values.", "enum": [ "needsAction", "declined", "tentative", "accepted" ], "type": "string" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "additionalGuests": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "email" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "creator": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "organizer": { "anyOf": [ { "additionalProperties": false, "description": "Creator or organizer person object on an event.", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "default": null }, "displayName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "self": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "extendedProperties": { "anyOf": [ { "additionalProperties": false, "description": "Arbitrary event metadata supported by Google Calendar.", "properties": { "private": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "shared": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "source": { "anyOf": [ { "additionalProperties": false, "description": "Source metadata for an event.", "properties": { "title": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "transparency": { "anyOf": [ { "description": "Whether an event blocks availability in free/busy calculations.", "enum": [ "opaque", "transparent" ], "type": "string" }, { "type": "null" } ], "default": null }, "eventType": { "anyOf": [ { "description": "Event type values supported by Google Calendar.", "enum": [ "default", "outOfOffice", "focusTime", "fromGmail", "workingLocation", "birthday" ], "type": "string" }, { "type": "null" } ], "default": null }, "outOfOfficeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Out-of-office event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "focusTimeProperties": { "anyOf": [ { "additionalProperties": false, "description": "Focus time event data.", "properties": { "autoDeclineMode": { "anyOf": [ { "description": "Auto-decline behavior for focus time and out-of-office events.", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations" ], "type": "string" }, { "type": "null" } ], "default": null }, "declineMessage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "chatStatus": { "anyOf": [ { "description": "Chat status values for focus time events.", "enum": [ "available", "doNotDisturb" ], "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "workingLocationProperties": { "anyOf": [ { "additionalProperties": false, "description": "Working location event data.", "properties": { "type": { "description": "Working location type values supported by Google Calendar.", "enum": [ "homeOffice", "officeLocation", "customLocation" ], "type": "string" }, "homeOffice": { "anyOf": [ { "additionalProperties": false, "description": "Home office marker for working location events.", "properties": {}, "type": "object" }, { "type": "null" } ], "default": null }, "customLocation": { "anyOf": [ { "additionalProperties": false, "description": "Custom working location details.", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "officeLocation": { "anyOf": [ { "additionalProperties": false, "description": "Office working location details.", "properties": { "buildingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "floorSectionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "deskId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "birthdayProperties": { "anyOf": [ { "additionalProperties": false, "description": "Birthday or special-date event data.", "properties": { "type": { "description": "Birthday or special-date type values supported by Google Calendar.", "enum": [ "anniversary", "birthday", "custom", "other", "self" ], "type": "string", "default": "birthday" }, "contact": { "anyOf": [ { "description": "Google People API resource name used by Calendar birthdays, e.g. \"people/c12345\".", "pattern": "^people/c[0-9]+$", "type": "string" }, { "type": "null" } ], "default": null }, "customTypeName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "clear_fields": { "anyOf": [ { "items": { "description": "Optional event fields that update_event can remove explicitly.", "enum": [ "description", "location", "status", "colorId", "visibility", "transparency", "recurrence", "reminders", "attendees", "creator", "organizer", "extendedProperties", "source", "outOfOfficeProperties", "focusTimeProperties", "workingLocationProperties", "birthdayProperties", "htmlLink", "hangoutLink" ], "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "account_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "eventId" ], "type": "object" }, "outputSchema": { "additionalProperties": true, "type": "object" } } ], "toolsets": { "read": [ "check_availability", "get_event", "list_accounts", "list_calendars", "list_events", "search_events" ], "write": [ "create_calendar", "create_event", "delete_event", "respond_to_event", "update_event" ], "events": [ "create_event", "delete_event", "get_event", "list_events", "search_events", "respond_to_event", "update_event" ], "calendars": [ "create_calendar", "list_calendars" ], "accounts": [ "list_accounts" ], "search": [ "list_events", "search_events" ], "availability": [ "check_availability" ], "scheduling": [ "check_availability", "respond_to_event" ], "core": [ "create_event", "delete_event", "get_event", "list_events", "search_events", "update_event" ], "toolathlon_legacy": [ "create_event", "delete_event", "get_event", "list_events", "update_event" ], "state": [ "export_state", "import_state" ] } }