Google Docs
Google Workspace
Create, read, and edit documents with full formatting control
- Read full document content including headings and structure
- Insert, append, and replace text in any document
- Create new documents and apply paragraph styles
What You Can Do
Google Docs integration gives you programmatic read and write access to your documents — ideal for drafting, editing, and extracting content.
Read documents — Retrieve full document content as structured text, preserving headings, paragraphs, and lists
Create documents — Spin up new Google Docs from scratch with a title
Append content — Add text to the end of any document
Insert text — Place content at a specific index within the document
Replace text — Find and replace strings across the entire document
Delete content — Remove specific text ranges
Apply paragraph styles — Set headings (H1–H6), body text, and named styles
Apply text formatting — Bold, italic, underline, font size, and color on text ranges
Insert tables — Add structured tables with specified rows and columns
Get document metadata — Title, document ID, revision IDTry Asking
"Read the executive summary section of my Q1 report doc"
"Create a new Google Doc called 'Sprint Planning Notes' and add today's agenda items"
"Append these action items to the end of the meeting notes doc"
"Replace all instances of 'FY2024' with 'FY2025' in the annual review document"
"Make the heading 'Project Overview' use Heading 1 style"
"Add a table with 4 columns and 5 rows to the proposal doc"
"What is the document ID of the file named 'Product Roadmap'?"Pro Tips
Documents are identified by their Drive file ID — the agent can look this up from a name
Batch all edits into a single `batchUpdate` request for efficiency — the agent handles this automatically
Content index positions are character-based; the agent tracks them relative to named sections
Combining Docs + Drive: search Drive for a document, then edit its content in one workflow
Exports are supported in PDF, plain text, HTML, DOCX formats
Formatting changes don't affect content — safe to apply after writing