Expand description
Google connectors: Calendar, Drive and Gmail for agents, called by srv. Google connectors: srv calls Google for an agent, with the account’s token, which no agent ever holds (docs/specs/SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md D2).
- [
Service]: each service’s scopes, by grant level (§3.2). - [
GoogleHttp]: Google’s REST APIs, behind a trait so tests stub them. - [
calendar], [drive], [gmail]: theCalendar,DriveandGmailtools’ actions, as requests and trimmed answers.
Modules§
- access
- Which Google account an agent uses for a service, and at what level, or a sentence saying why it can’t and who can change that (D4).
- calendar
- The
Calendartool’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. - calls
- One agent tool call to Google, end to end: whose account and grant
(
super::access), whether the token covers the action, a fresh token (srv refreshes it; the agent never sees it), the request, the trimmed answer, and a line in the account’s log (D7) however it ends. - drive
- The
Drivetool’s read actions (G2), named after Google’s Drive MCP tools (SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §5):search_files,get_file_metadata,read_file_content. Ondrive.filean account reaches only the files the person picked (Google’s desktop picker, §3.3) and the ones AgentMux made, so a search is over those and nothing else. - gmail
- The
Gmailtool’s read actions (G3), named after Google’s Gmail MCP tools (SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §5):search_threads,get_thread,list_labels. - gmail_
flow - One
Gmailwrite call end to end (G3): whose account and whether the agent may write (super::access), whether the token covers the action, the person’s yes for what can’t be taken back (send_draft,trash_thread: SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §6), the call, and a line in the account’s log however it ends. - gmail_
sender - Whether a mail’s sender was proven: the sender check
get_threadshows for each message, a short line per thread insearch_threads, and the option to read a message’s raw header lines. - gmail_
thread - What the window that asks to send a draft says about the thread the draft replies into: which
thread it is, who is in it, and a warning when none of the draft’s recipients has taken part in
it (a draft for one person that sits in another person’s thread, #47852). It is shown text only:
the digest of the draft, which decides what is sent, does not take it. The pure half, as
super::gmail_writeis: the flow that fetches the thread issuper::gmail_flow. - gmail_
write - The
Gmailtool’s write actions (G3), named after Google’s Gmail MCP tools (SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §5, §6):create_draft,update_draft,label_thread(no prompt with a write grant),send_draftandtrash_thread(always ask the person).
Structs§
- Google
Request - One request to a Google REST API.
- Live
Google Http GoogleHttpover the network.
Enums§
- Service
- A Google service an account can be used for.
Constants§
- TEXT_
CAP - The most bytes of a file
read_file_contenttakes from Google.
Traits§
- Google
Http - Google’s REST APIs.
Functions§
- google_
error - Google’s own message for a failed call, in one sentence for the agent.