Docs request: Google Workspace APIs (Drive, Docs, Gmail, Sheets, Calendar)

Author: LucaFoschiniCreated Sep 20, 2026Updated Sep 20, 2026
Labelsenhancement

Problem

The google provider has 130 entries and every one of them is Google Cloud (aiplatform, alloydb, artifact-registry, api-gateway, and so on). There is no coverage of the Google Workspace APIs: Drive, Docs, Gmail, Sheets, Calendar.

That gap is worth filling, because Workspace has several behaviours an agent reading the reference documentation will get confidently wrong.

A concrete example. The Drive v3 comments resource accepts an anchor field, described as "a region of the document represented as a JSON string". An agent reading only that reference writes code to attach a comment to a passage of a Google Doc, the API returns 200, and the comment appears in the document unanchored.

The reason sits in a different guide: "Google Workspace editor apps (such as Docs, Sheets, and Slides) don't render comments created with the Drive API anchored to content; they treat these comments as unanchored comments." It directs you to the Docs API instead, and the Docs API has no comments resource at all.

So the correct answer is that anchored comments are not available, and nothing in the resource reference says so. This is the shape of failure a curated doc prevents: not a missing method, but a method that appears to work.

Proposed Solution

Add google/docs/{drive,docs,gmail,sheets,calendar}/python, with JavaScript variants where the client library differs meaningfully.

Candidate content, chosen for being the things agents get wrong rather than the things the reference already covers well:

  • Drive: comment anchoring is not supported in the editor apps, as above.
  • Gmail: historyId cursoring as the correct way to enumerate what changed, rather than is:unread or a rolling newer_than: window, both of which silently miss messages a user has touched in a client.
  • Docs: batchUpdate index semantics, where indexes shift as earlier requests in the same batch apply.
  • Sheets: A1 notation against GridRange, and where each is required.

Alternatives Considered

Reading the live Google documentation at request time, which is what agents do today. It fails specifically on this class of problem, because the reference page for a resource and the guide that qualifies its behaviour are different pages, and an agent that has found an authoritative-looking answer has no reason to keep looking.

Additional Context

Measured against content/ on main today: 622 providers, 130 under google, none of them Workspace.

Happy to contribute the first of these as a pull request following the Content Guide if the scope looks right. Checking first whether Workspace is deliberately out of scope for the google provider or simply not written yet.