add_calendar_to_list
Subscribes the authenticated user or service account to an existing Google Calendar, adding it to their calendar list; for service accounts, this makes calendars shared with them appear.
Instructions
Subscribe the authenticated user (or service account) to a calendar, adding it to their calendar list so it appears in list_calendars.
This does not create or share a calendar — it only adds an existing, already-accessible calendar to your own list. For service accounts, this is the required step before a calendar shared with the service account's email will show up in list_calendars.
Args:
calendar_id: The calendar ID to subscribe to (e.g. the owner's email
for a personal calendar, or a ...@group.calendar.google.com ID).
color_id: Optional color ID from the palette returned by the Calendar
API's colors().get() endpoint (predefined IDs, typically '1'-'24').
Returns: The new calendar list entry: id, summary, time_zone, access_role, primary, color_id.
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": {
"calendar_id": "<calendar_id>"
},
"name": "add_calendar_to_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color_id | No | ||
| calendar_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||