/google-docs | Type: Application | PCID required: Yes
Document creation and editing
Tools
| Tool | Description |
|---|---|
google-docs_get_document | Retrieve the content of a Google Docs document by its ID. Supports plain text or Markdown format output. |
google-docs_create_document | Create a new document in Google Docs with specified title and optional content |
google-docs_update_document | Update content in an existing Google Docs document |
google-docs_insert_text | Insert text at a specific location in a Google Docs document |
google-docs_insert_table | Insert a table into a Google Docs document |
google-docs_insert_page_break | Insert a page break in a Google Docs document |
google-docs_list_trigger_capabilities | List available Google Docs trigger types and their configurations |
google-docs_poll_trigger | Poll for changes to a specific Google Docs document by checking its revision history |
google-docs_find_and_replace | Find and replace text throughout a Google Docs document. Returns the number of occurrences changed. |
google-docs_get_document
Retrieve the content of a Google Docs document by its ID. Supports plain text or Markdown format output. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | Google document ID to retrieve |
format | string | No | "text" | Output format: ‘text’ (plain text, default) or ‘markdown’ (preserves headings, lists, tables, formatting) |
google-docs_create_document
Create a new document in Google Docs with specified title and optional content Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
title | string | Yes | — | Title of Google document to create |
content | string | No | — | Content of Google document to create |
google-docs_update_document
Update content in an existing Google Docs document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | Google document ID to update |
content | string | Yes | — | Content of Google document to update |
replaceAll | boolean | No | false | If set to false, the content will be appended to existing document. If set to true, existing document will be replaced with new content & old content will append after it |
google-docs_insert_text
Insert text at a specific location in a Google Docs document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | ID of the document to insert text into |
text | string | Yes | — | Text to insert |
index | number | No | 1 | Index position to insert text at (default: end of document) |
google-docs_insert_table
Insert a table into a Google Docs document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | ID of the document to insert table into |
rows | number | Yes | — | Number of rows in the table |
columns | number | Yes | — | Number of columns in the table |
index | number | No | — | Index position to insert table at (default: end of document) |
google-docs_insert_page_break
Insert a page break in a Google Docs document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | ID of the document to insert page break into |
index | number | No | — | Index position to insert page break at (default: end of document) |
google-docs_list_trigger_capabilities
List available Google Docs trigger types and their configurationsgoogle-docs_poll_trigger
Poll for changes to a specific Google Docs document by checking its revision history Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | — | Google Docs document URL to monitor (e.g., https://docs.google.com/document/d/DOCUMENT_ID/edit) |
cursor | string | No | — | Last known revision ID for incremental sync |
minTimestamp | number | No | — | Unix timestamp in seconds - used for test polls to verify trigger setup |
maxResults | number | No | 100 | Maximum number of events to return |
google-docs_find_and_replace
Find and replace text throughout a Google Docs document. Returns the number of occurrences changed. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
documentId | string | Yes | — | Google document ID |
findText | string | Yes | — | Text to find |
replaceText | string | Yes | — | Text to replace with |
matchCase | boolean | No | false | Whether to match case (default: false) |

