Connect Google Docs to your AI agent
Google Docs is a cloud-based word processor with real-time collaboration, version history, and integration with other Google Workspace apps
We set up the connection using your own Google Docs account, with keys you control, and keep it running. Your agent picks it up and starts doing the work.
What your agent can do in Google Docs
Each one is a real action the agent can take on its own, the same things a person clicking around Google Docs could do. Read-only by default; write actions are confirmed against your policy.
- Copy Google Document Tool to create a copy of an existing Google Document. Use this to duplicate a document, for example, when using an existing document as a template. The copied document will have a default title (e.g., 'Copy of [original…
- Create and Populate Table in Google Doc Creates a new table in a Google Document and populates its cells with provided text data in a single operation. Use this action when you need to insert a structured table with predefined content into a document. The act…
- Create a document Creates a new Google Docs document using the provided title as filename and inserts the initial text at the beginning if non-empty, returning the document's ID and metadata (excluding body content).
- Create blank document (Deprecated) DEPRECATED: Use GOOGLEDOCS_CREATE_DOCUMENT instead. Tool to create a blank Google Docs document with a specified title. Use when you need to create a new, empty document.
- Create Document Markdown Creates a new Google Docs document, optionally initializing it with a title and content provided as Markdown text.
- Create Footer Tool to create a new footer in a Google Document. Use when you need to add a footer, optionally specifying its type and the section it applies to.
- Create Footnote Tool to create a new footnote in a Google Document. Use this when you need to add a footnote at a specific location or at the end of the document body.
- Create Header Tool to create a new header in a Google Document, optionally with text content. Use this tool when you need to add a header to a document. You can provide: - document_id: The ID of the document (required) - type: The he…
- Create Named Range Tool to create a new named range in a Google Document. Use this to assign a name to a specific part of the document for easier reference or programmatic manipulation.
- Create Paragraph Bullets Tool to add bullets to paragraphs within a specified range in a Google Document. Use when you need to format a list or a set of paragraphs as bullet points.
- Create Document Tab Creates a new tab in a Google Docs document. Tabs allow you to organize document content into separate sections within a single document. Use this action when you need to add a new organizational tab to a document. When…
- Delete Content Range in Document Tool to delete a range of content from a Google Document. Use when you need to remove a specific portion of text or other structural elements within a document. Note: Every segment (body, header, footer, footnote) in Go…
- Delete Footer Tool to delete a footer from a Google Document. Use when you need to remove a footer from a specific section or the default footer.
- Delete Header Deletes the header from the specified section or the default header if no section is specified. Use this tool to remove a header from a Google Document.
- Delete Named Range Tool to delete a named range from a Google Document. Use when you need to remove a previously defined named range by its ID or name.
- Delete Paragraph Bullets Tool to remove bullets from paragraphs within a specified range in a Google Document. Use when you need to clear bullet formatting from a section of a document.
- Delete Tab Deletes a tab from a Google Document. This action is irreversible — the tab cannot be recovered once removed. Use when you need to remove a tab and all its child tabs from a document's tab structure.
- Delete Table Column Tool to delete a column from a table in a Google Document. Use this tool when you need to remove a specific column from an existing table within a document.
- Delete Table Row Tool to delete a row from a table in a Google Document. Use when you need to remove a specific row from an existing table.
- Export Google Doc as PDF Tool to export a Google Docs file as PDF using the Google Drive API. Use when you need to generate a PDF version of a Google Docs document for download or distribution. Note: Google Drive enforces a 10MB limit on export…
- Get document by id Retrieves an existing Google Document by its ID; will error if the document is not found.
- Get Document End Index Retrieves the end index and paragraph structure of a Google Document or specific segment. Use this action when you need to determine valid insertion points for text operations, especially before using insertText request…
- Get document plain text Retrieve a Google Doc by ID and return a best-effort plain-text rendering. Converts document structure into plain text including paragraphs, lists, and tables without requiring clients to traverse complex Docs API JSON.
- Insert Image in Table Cell Inserts an image from a given URI into a specific table cell in a Google Document. Use this action when you need to add an image to a particular cell within a table. The action identifies the target cell by table start…
- Insert Inline Image Tool to insert an image from a given URI at a specified location in a Google Document as an inline image. Use when you need to add an image to a document programmatically.
- Insert Page Break Tool to insert a page break into a Google Document. Use when you need to start new content on a fresh page, such as at the end of a chapter or section.
- Insert Table in Google Doc Tool to insert a table into a Google Document. Use when you need to add a new table at a specific location or at the end of a segment (like document body, header, or footer) in a document.
- Insert Table Column Tool to insert a new column into a table in a Google Document. Use this tool when you need to add a column to an existing table at a specific location.
- Insert Table Row Inserts a new row into a table in a Google Document at a specified location. Use this action when you need to add a row to an existing table, either above or below a reference cell location.
- Insert Text into Document Tool to insert a string of text at a specified location within a Google Document. Use when you need to add new text content to an existing document. IMPORTANT: Two ways to specify insertion location: 1. Use 'insertion_i…
- Insert Text in Table Cell Inserts text into a specific cell of a table in a Google Document by row and column position. Use this action when you need to add or update text content in a table cell at a known row and column index. To use this acti…
- Get Charts from Spreadsheet Tool to retrieve a list of all charts from a specified Google Sheets spreadsheet. Use when you need to get chart IDs and their specifications for embedding or referencing elsewhere, such as in Google Docs.
- Replace All Text in Document Tool to replace all occurrences of a specified text string with another text string throughout a Google Document. Use when you need to perform a global find and replace operation within a document.
- Replace Image in Document Tool to replace a specific image in a document with a new image from a URI. Use when you need to update an existing image within a Google Doc.
- Search Documents Search for Google Documents using various filters including name, content, date ranges, and more.
- Unmerge Table Cells Tool to unmerge previously merged cells in a table. Use this when you need to revert merged cells in a Google Document table back to their individual cell states.
- Update Document Batch (Deprecated) DEPRECATED: Use UpdateExistingDocument instead. Tool to apply one or more updates to a Google Document. Use when you need to perform batch operations on a document, such as inserting text, updating styles, or modifying…
- Update Document Markdown Replaces the entire content of an existing Google Docs document with new Markdown text; requires edit permissions for the document.
- Update Document Section Markdown Tool to insert or replace a section of a Google Docs document with Markdown content. Use when you need to update only a section of a document by specifying start and optional end indices. Supports full Markdown formatti…
- Update Document Style Tool to update the overall document style, such as page size, margins, and default text direction. Use when you need to modify the global style settings of a Google Document.
- Update existing document Applies programmatic edits, such as text insertion, deletion, or formatting, to a specified Google Doc using the `batchUpdate` API method.
- Update Table Row Style Tool to update the style of a table row in a Google Document. Use when you need to modify the appearance of specific rows within a table, such as setting minimum row height or marking rows as headers.
- Update Tab Properties Updates properties of a document tab such as title, parent tab, index, and icon emoji. Use this action when you need to rename a tab, change its emoji icon, move it within the tab hierarchy, or reorganize tab structure.
How we connect it
- 1
Connect your account
You log in with your own Google Docs account. We never see your password, and you can revoke access from Google Docs at any time.
- 2
Set the guardrails
Read-only by default. You choose which write actions the agent may take, and anything outside that policy gets confirmed with you first.
- 3
We keep it running
Health checks on every connection, updates handled for you, and we watch the first week of activity to make sure the work lands.
FAQ
Google Docs questions, answered.
Ready to put Google Docs to work?
Tell us what your team runs on. We set up the connection, secure it, and your agent takes it from there.
All product names, logos, and brands are property of their respective owners; used for identification only. ZeroToClaw is not affiliated with or endorsed by Google Docs.