Skip to main content
Server path: /google-docs | Type: Application | PCID required: Yes Document creation and editing

Tools

ToolDescription
google-docs_get_documentRetrieve the content of a Google Docs document by its ID. Supports plain text or Markdown format output.
google-docs_create_documentCreate a new document in Google Docs with specified title and optional content
google-docs_update_documentUpdate content in an existing Google Docs document
google-docs_insert_textInsert text at a specific location in a Google Docs document
google-docs_insert_tableInsert a table into a Google Docs document
google-docs_insert_page_breakInsert a page break in a Google Docs document
google-docs_list_trigger_capabilitiesList available Google Docs trigger types and their configurations
google-docs_poll_triggerPoll for changes to a specific Google Docs document by checking its revision history
google-docs_find_and_replaceFind 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:
ParameterTypeRequiredDefaultDescription
documentIdstringYesGoogle document ID to retrieve
formatstringNo"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:
ParameterTypeRequiredDefaultDescription
titlestringYesTitle of Google document to create
contentstringNoContent of Google document to create

google-docs_update_document

Update content in an existing Google Docs document Parameters:
ParameterTypeRequiredDefaultDescription
documentIdstringYesGoogle document ID to update
contentstringYesContent of Google document to update
replaceAllbooleanNofalseIf 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:
ParameterTypeRequiredDefaultDescription
documentIdstringYesID of the document to insert text into
textstringYesText to insert
indexnumberNo1Index position to insert text at (default: end of document)

google-docs_insert_table

Insert a table into a Google Docs document Parameters:
ParameterTypeRequiredDefaultDescription
documentIdstringYesID of the document to insert table into
rowsnumberYesNumber of rows in the table
columnsnumberYesNumber of columns in the table
indexnumberNoIndex position to insert table at (default: end of document)

google-docs_insert_page_break

Insert a page break in a Google Docs document Parameters:
ParameterTypeRequiredDefaultDescription
documentIdstringYesID of the document to insert page break into
indexnumberNoIndex position to insert page break at (default: end of 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 Parameters:
ParameterTypeRequiredDefaultDescription
urlstringYesGoogle Docs document URL to monitor (e.g., https://docs.google.com/document/d/DOCUMENT_ID/edit)
cursorstringNoLast known revision ID for incremental sync
minTimestampnumberNoUnix timestamp in seconds - used for test polls to verify trigger setup
maxResultsnumberNo100Maximum 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:
ParameterTypeRequiredDefaultDescription
documentIdstringYesGoogle document ID
findTextstringYesText to find
replaceTextstringYesText to replace with
matchCasebooleanNofalseWhether to match case (default: false)