Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Drive File Metadata
GOOGLEDOCS_GET_DOCS_DRIVE_FILE_METADATAGet selected metadata fields for one Google Drive file by ID.
Get Spreadsheet Values
GOOGLEDOCS_GET_DOCS_SPREADSHEET_VALUESRead cell values from one range in a Google Sheets spreadsheet.
Get document by id
GOOGLEDOCS_GET_DOCUMENT_BY_IDRetrieves an existing Google Document by its ID; will error if the document is not found.
Get Document End Index
GOOGLEDOCS_GET_DOCUMENT_END_INDEXRetrieves 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 document plain text
GOOGLEDOCS_GET_DOCUMENT_PLAINTEXTRetrieve 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
GOOGLEDOCS_INSERT_IMAGE_IN_TABLE_CELLInserts an image from a URI at a position in a Google Document table cell identified by table start index, row and column. The table lookup searches top-level body content, including the specified top-level tab when provided.
Insert Inline Image
GOOGLEDOCS_INSERT_INLINE_IMAGETool 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
GOOGLEDOCS_INSERT_PAGE_BREAKTool 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
GOOGLEDOCS_INSERT_TABLE_ACTIONTool 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
GOOGLEDOCS_INSERT_TABLE_COLUMNTool 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
GOOGLEDOCS_INSERT_TABLE_ROWInserts 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
GOOGLEDOCS_INSERT_TEXT_ACTIONTool 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.
Insert Text in Table Cell
GOOGLEDOCS_INSERT_TEXT_IN_TABLE_CELLInsert text into a Google Docs table using the table's start index and zero-based row and column positions. Existing table content can cause the text to be inserted outside the requested cell.
List Drive Item Permissions
GOOGLEDOCS_LIST_DRIVE_ITEM_PERMISSIONSList permissions for a Google Drive file, folder, or shared drive.
Get Charts from Spreadsheet
GOOGLEDOCS_LIST_SPREADSHEET_CHARTSTool 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
GOOGLEDOCS_REPLACE_ALL_TEXTReplaces occurrences of text in a Google Document, either across the document or in selected tabs. Supports case-sensitive matching and regular expressions.
Replace Image in Document
GOOGLEDOCS_REPLACE_IMAGETool 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
GOOGLEDOCS_SEARCH_DOCUMENTSSearch for Google Documents using various filters including name, content, date ranges, and more.
Unmerge Table Cells
GOOGLEDOCS_UNMERGE_TABLE_CELLSTool 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 Markdown
GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWNReplaces the body content of a Google Docs tab with rendered Markdown; requires edit permissions. If no tab is specified, the first tab is updated.