OXYGENOXYGEN
← All integrations
Google Docs logo

Google Docs

Read and edit documents.

WorkspaceOAuth43 endpoints

Endpoints

OperationMethod & pathEffectLatencyRateCost
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.
POST /composio/googledocs/googledocs_copy_documentexternal_sendmanaged
GOOGLEDOCS_CREATE_AND_POPULATE_TABLE
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 action handles both table creation and cell population automatically, eliminating the need for separate operations.
POST /composio/googledocs/googledocs_create_and_populate_tableexternal_sendmanaged
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).
POST /composio/googledocs/googledocs_create_documentexternal_sendmanaged
GOOGLEDOCS_CREATE_DOCUMENT2
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.
POST /composio/googledocs/googledocs_create_document2external_sendmanaged
GOOGLEDOCS_CREATE_DOCUMENT_MARKDOWN
Creates a new Google Docs document, optionally initializing it with a title and content provided as Markdown text.
POST /composio/googledocs/googledocs_create_document_markdownexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_create_footerexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_create_footnoteexternal_sendmanaged
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
POST /composio/googledocs/googledocs_create_headerexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_create_named_rangeexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_create_paragraph_bulletsexternal_sendmanaged
GOOGLEDOCS_CREATE_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 a tab is added at a specified index, all subsequent tabs' indexes are automatically incremented.
POST /composio/googledocs/googledocs_create_tabexternal_sendmanaged
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. Note: Every segment (body, header, footer, footnote) in Google Docs ends with a final newline character that cannot be deleted. Ensure the endIndex does not include this trailing newline.
POST /composio/googledocs/googledocs_delete_content_rangeexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_footerexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_headerexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_named_rangeexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_paragraph_bulletsexternal_sendmanaged
GOOGLEDOCS_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.
POST /composio/googledocs/googledocs_delete_tabexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_table_columnexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_delete_table_rowexternal_sendmanaged
GOOGLEDOCS_EXPORT_DOCUMENT_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 content.
POST /composio/googledocs/googledocs_export_document_as_pdfexternal_sendmanaged
GOOGLEDOCS_GET_DOCUMENT_BY_ID
Retrieves an existing Google Document by its ID; will error if the document is not found.
GET /composio/googledocs/googledocs_get_document_by_idnonemanaged
GOOGLEDOCS_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 requests. The end index represents the maximum boundary of the document body or specified segment (header, footer, footnote, or tab).
GET /composio/googledocs/googledocs_get_document_end_indexnonemanaged
GOOGLEDOCS_GET_DOCUMENT_PLAINTEXT
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.
GET /composio/googledocs/googledocs_get_document_plaintextnonemanaged
GOOGLEDOCS_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 index, row index, and column index, then inserts the image at the specified position within that cell's content.
POST /composio/googledocs/googledocs_insert_image_in_table_cellexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_insert_inline_imageexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_insert_page_breakexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_insert_table_actionexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_insert_table_columnexternal_sendmanaged
GOOGLEDOCS_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.
POST /composio/googledocs/googledocs_insert_table_rowexternal_sendmanaged
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) CRITICAL CONSTRAINT: When using insertion_index, the index MUST fall within the bounds of an EXISTING paragraph. You cannot insert text at arbitrary indices or at structural boundaries (e.g., table starts). The index must also be strictly less than the document's end index. To safely append text without index concerns, use append_to_end=true.
POST /composio/googledocs/googledocs_insert_text_actionexternal_sendmanaged
GOOGLEDOCS_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 action, you must first retrieve the document structure using GOOGLEDOCS_GET_DOCUMENT_BY_ID to find the table's start index. Then specify the target cell by its zero-based row and column indices (e.g., row_index=0, column_index=0 for the top-left cell).
POST /composio/googledocs/googledocs_insert_text_in_table_cellexternal_sendmanaged
GOOGLEDOCS_LIST_SPREADSHEET_CHARTS
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.
GET /composio/googledocs/googledocs_list_spreadsheet_chartsnonemanaged
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.
POST /composio/googledocs/googledocs_replace_all_textexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_replace_imageexternal_sendmanaged
GOOGLEDOCS_SEARCH_DOCUMENTS
Search for Google Documents using various filters including name, content, date ranges, and more.
GET /composio/googledocs/googledocs_search_documentsnonemanaged
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.
POST /composio/googledocs/googledocs_unmerge_table_cellsexternal_sendmanaged
GOOGLEDOCS_UPDATE_DOCUMENT_BATCH
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 document structure. Supports 35+ request types including insertText, replaceAllText, updateTextStyle, createParagraphBullets, insertTable, createHeader/Footer, and more. Each request is validated before being applied. If any request is invalid, the entire operation fails and nothing is applied.
POST /composio/googledocs/googledocs_update_document_batchexternal_sendmanaged
GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWN
Replaces the entire content of an existing Google Docs document with new Markdown text; requires edit permissions for the document.
POST /composio/googledocs/googledocs_update_document_markdownexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_update_document_section_markdownexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_update_document_styleexternal_sendmanaged
GOOGLEDOCS_UPDATE_EXISTING_DOCUMENT
Applies programmatic edits, such as text insertion, deletion, or formatting, to a specified Google Doc using the `batchUpdate` API method.
POST /composio/googledocs/googledocs_update_existing_documentexternal_sendmanaged
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.
POST /composio/googledocs/googledocs_update_table_row_styleexternal_sendmanaged
GOOGLEDOCS_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.
POST /composio/googledocs/googledocs_update_tab_propertiesexternal_sendmanaged