Manage Calendar
manage_calendarCreate secondary Google Calendars and control sharing by listing, granting, updating, or removing access rules for users, groups, domains, or public access.
Instructions
Creates secondary Google Calendars and manages who a calendar is shared with (its access control rules).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_google_email": "<user_google_email>",
"action": "<action>"
},
"name": "manage_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Access level for "share" and "update_sharing". One of: "freeBusyReader", "reader", "writerWithoutPrivateAccess", "writer", "owner", "none". | |
| action | Yes | Action to perform. One of: - "create": Create a new secondary calendar. Uses summary, description, timezone. - "list_sharing": List the calendar's sharing rules. Uses calendar_id, page_token. - "share": Grant access to the calendar. Uses calendar_id, role, scope_type, scope_value, send_notifications. - "update_sharing": Change the role of an existing rule. Uses calendar_id, rule_id, role, send_notifications. - "unshare": Remove an existing rule. Uses calendar_id, rule_id. | |
| rule_id | No | Rule ID from "list_sharing" (e.g. "user:alice@example.com"). Required for "update_sharing" and "unshare". | |
| summary | No | The title/name of the new calendar. Required for "create". | |
| timezone | No | IANA timezone for the new calendar (e.g. 'America/New_York'). Used by "create". | |
| page_token | No | For "list_sharing" action: token for the next page, taken from a previous response. | |
| scope_type | No | Who "share" grants access to: "user", "group", "domain", or "default" (public). Defaults to "user". | user |
| calendar_id | No | Calendar ID for the sharing actions. Defaults to 'primary'. | primary |
| description | No | An optional description for the new calendar. Used by "create". | |
| scope_value | No | Email address for "user"/"group" or domain name for "domain". Required for "share" unless scope_type is "default". | |
| user_google_email | Yes | The user's Google email address. Required. | |
| send_notifications | No | Whether to email the grantee on "share" and "update_sharing". Defaults to True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |