Skip to main content

Module calendar

Module calendar 

Source
Expand description

The Calendar tool’s read actions (G1a), named after Google’s Calendar MCP tools (SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §5): list_calendars, list_events, search_events, free_busy.

Each action is a plan (the request to Google, from the agent’s arguments) and a shape (Google’s answer, trimmed to what an agent needs and capped). Neither touches the network or a token.

Structs§

CalendarArgs
The arguments the read actions take. Unknown fields are ignored.

Constants§

READ_ACTIONS
The read actions, in the order the tool lists them.

Functions§

granted_for
Whether granted (full scope URLs, or bare names) covers action.
logged_ids
The ids a read touched, for the account’s log (D7): the calendars, never what was in them.
needs
The scopes an action can run with: any one of them is enough, so a partial grant still runs what it covers (§7).
plan
The request to Google for a read action.
shape
Google’s answer to a read action, trimmed for the agent.