Google Docs tools: every read and write tool the agent and MCP can call
4 read and 6 write tools. Read and write support for the operations listed.
Support and limitations
- Read and write support for the operations listed.
- Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
- Approvals: in the app, changes wait for approval unless the task runs with auto-approve (formatting-only changes to a file the app itself created can run without a card). Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). Forbidden Rules can block any of them.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (4)
| Tool | What it does |
|---|---|
google_docs__list_documents | The Google Docs this app made or was handed (Drive, drive.file): id, title, link, modified time — newest first. |
google_docs__get_document | ONE document (documents.get): title, the outline (headings with their level), the text, every table as rows, inline image count; long text is cut and says… |
google_docs__export_document | Export a document (Drive files.export) and save the file to the Asset Library: format pdf / docx / txt / md. |
google_docs__raw_get | RAW Google Docs API read — ONLY when no typed tool covers what the goal needs. |
Write tools (6)
A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.
| Tool | Approval | What it does |
|---|---|---|
google_docs__create_document | Approval setting | Create a NEW, polished Google Doc from structured content. |
google_docs__append_content | Approval setting | Add content at the END of an existing document. |
google_docs__insert_content | Approval setting | Add content right AFTER a heading of an existing document. |
google_docs__replace_text | Approval setting | Replace every occurrence of a text in a document (replaceAllText). |
google_docs__copy_from_template | Approval setting | Make a NEW document from a template document (Drive files.copy) and fill its. |
google_docs__batch_update | Approval setting | Any Google Docs batchUpdate in Google's own format, for what the typed tools do not cover. |
Authorized raw requests
google_docs__raw_request sends a request in Google Docs's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.
Related pages
Frequently asked questions
- How many Google Docs tools are there?
- 10: 4 read and 6 write. The list on this page is the complete catalog for Google Docs.
- Can an agent call the Google Docs API directly?
- google_docs__raw_request sends a request in Google Docs's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.