Create, edit, and share documents in your workspace
GAIA connects to Google Docs via MCP (Model Context Protocol) and exposes every action as a natural-language command. Tell GAIA what you want and it handles the rest, automatically.
Googledocs Copy 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 title]') if no new title is provided, and will be placed in the user's root Google Drive folder.
Googledocs Create 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).
Googledocs Create Document Markdown
Creates a new Google Docs document, optionally initializing it with a title and content provided as Markdown text.
Googledocs 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.
Googledocs 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.
Googledocs 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 header type (DEFAULT is the standard header) - text: Optional text content to add to the header - section_break_location: Optional location for section-specific headers
Googledocs 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.
Googledocs 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.
Googledocs Delete Content Range
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.
Googledocs 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.
Googledocs 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.
Googledocs 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.
Googledocs 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.
Googledocs Delete Table
Tool to delete an entire table from a Google Document. Use when you have the document ID and the specific start and end index of the table element to be removed. The table's range can be found by inspecting the document's content structure.
Googledocs 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.
Googledocs 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.
Googledocs 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.
Googledocs Get Document By Id
Retrieves an existing Google Document by its ID; will error if the document is not found.
Googledocs 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.
Googledocs 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.
Googledocs Insert Table Action
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.
Googledocs 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.
Googledocs Insert Text Action
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_index' to insert at a specific position (index 1 is safe for document start) 2. Use 'append_to_end=true' to append text to the end of the document (recommended for appending) Note: When using insertion_index, the index MUST be strictly less than the document's end index. To append to the end, use append_to_end=true instead of trying to insert at the last index.
Googledocs List Spreadsheet Charts Action
Tool to retrieve a list of charts with their IDs and metadata from a Google Sheets spreadsheet. Use to identify charts available for embedding into Google Docs.
Googledocs Replace All Text
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.
Googledocs Replace Image
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.
Googledocs Search Documents
Search for Google Documents using various filters including name, content, date ranges, and more.
Googledocs 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.
Googledocs Update Document Markdown
Replaces the entire content of an existing Google Docs document with new Markdown text; requires edit permissions for the document.
Googledocs 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 formatting.
Googledocs 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.
Googledocs Update Existing Document
Applies programmatic edits, such as text insertion, deletion, or formatting, to a specified Google Doc using the `batchUpdate` API method.
Googledocs 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.
Googledocs Custom Share Doc
Share a Google Doc with one or more recipients in a single operation. Use this tool when the user wants to: - Share a document with multiple people at once - Collaborate on a document with colleagues - Grant different access levels to different users - Share with a team or group of people Parameters: - document_id (str): The unique identifier of the document to share - recipients (list): List of recipients, each containing: - email (str): Email address of the person to share with - role (str, optional): Permission level - "reader", "writer", or "owner" (default: "writer") - send_notification (bool, optional): Whether to send an email notification (default: True) Returns: - success: Whether all shares were successful - document_id: Unique identifier of the shared document - url: Direct link to the document - shared: List of successfully shared recipients with permission IDs - errors: List of any failed shares with error details - total_shared: Count of successful shares - total_failed: Count of failed shares Example usage: - "Share my project document with john@example.com and jane@example.com as writers" - "Give read access to this document to the marketing team" - "Share the meeting notes with alice@company.com as reader and bob@company.com as writer" Note: This tool supports bulk operations - share with multiple people in a single call for efficiency.
Googledocs Custom Create Toc
Create a Table of Contents in a Google Doc by analyzing document headings. This tool scans the document for headings (H1, H2, H3, etc.) and generates a formatted text-based table of contents which is then inserted at the specified position. Use this tool when the user wants to: - Add a table of contents to their document - Create a document outline/index - Generate a TOC from existing section headings Parameters: - document_id (str): The unique identifier of the document - insertion_index (int, optional): Position to insert TOC (default: 1 = beginning) - include_heading_levels (list, optional): Which heading levels to include [1,2,3] = H1, H2, H3 - title (str, optional): Title for the TOC section (default: "Table of Contents") Returns: - success: Whether the TOC was created successfully - document_id: Document identifier - url: Direct link to the document - headings_found: Number of headings discovered - toc_content: The generated TOC text Example usage: - "Add a table of contents to my project document" - "Create a TOC at the beginning of my report" - "Generate an outline for my document showing only H1 and H2" Note: This creates a text-based TOC. Unlike the native Google Docs TOC, it won't auto-update when headings change. Re-run this tool to regenerate the TOC.
Googledocs Custom Delete Doc
Delete a Google Doc permanently. Use this tool when the user wants to: - Delete a document they created - Remove an old or unnecessary file - Clean up temporary files Parameters: - document_id (str): The unique identifier of the document to delete Returns: - success: Whether the deletion was successful - document_id: The ID of the deleted document Note: This action is permanent and often cannot be undone immediately via API (moves to trash).
Googledocs Custom Gather Context
Get Google Docs context snapshot: recently viewed/modified documents. Zero required parameters. Returns user's recently accessed Google Docs.
Set up your Google Docs automation in three simple steps, no code required.
Connect Google Docs to GAIA
Open the GAIA Marketplace, find Google Docs, and click "Add to your GAIA". Authorise access via Google OAuth — takes under two minutes.
Describe what you need in plain English
Say "create a project proposal for a mobile app redesign" or "find my Q3 review doc and add a summary section". GAIA handles the creation, formatting, and editing for you.
GAIA writes, edits, and organises your docs
GAIA can create new documents with proper structure, update existing ones, search your Drive for content, and even trigger workflows when documents are created or modified.
Everything you need to know about the GAIA Google Docs integration.
Google Docs is just one piece of the puzzle. GAIA integrates with 50+ tools across productivity, communication, productivity, and more, letting you build cross-tool automations in plain English without writing a single line of code.
Browse all integrations