The Google Docs extension allows your agent to interact with Google Docs — creating documents, reading content, inserting and formatting text, managing tables and lists, and running batch updates. It’s ideal for drafting reports, editing existing documents, or automating document workflows directly from your agent.Documentation Index
Fetch the complete documentation index at: https://docs.ironclaw.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
If you haven’t set up Google OAuth yet, complete the Google OAuth Setup first.Enable the Google Docs API
In your Google Cloud project, navigate to APIs & Services → Library, search for Google Docs API, and click Enable.
Authorize Access
Available Actions
create_document: Create a new Google Doc with an optional titleget_document: Retrieve document metadata (title, revision, named ranges)read_content: Extract the plain-text or structured content of a documentinsert_text: Insert text at a specific index in the document bodydelete_content: Delete a range of content by start and end indexreplace_text: Find and replace text throughout the documentformat_text: Apply character formatting (bold, italic, font size, color) to a text rangeformat_paragraph: Apply paragraph styling (heading level, alignment, spacing, indentation) to a rangeinsert_table: Insert a table with a specified number of rows and columnscreate_list: Convert a range of paragraphs into a bulleted or numbered listbatch_update: Send multiple document update requests in a single API call
Example Usage
Once configured, you can ask your agent things like:- “Create a new document titled ‘Q2 Marketing Plan’”
- “Read the content of document ID 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms”
- “Insert a summary paragraph at the top of my report”
- “Replace all occurrences of ‘TBD’ with ‘Pending Review’ in this doc”
- “Format the title as Heading 1 and make it bold”
- “Add a 3-column table for the budget breakdown”