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

Tools


google_docs_batch_update

Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically. Parameters:

google_docs_create_document

Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document. Parameters:

google_docs_find_and_replace

Find and replace text throughout a Google Docs document. Returns the number of occurrences changed. Uses the batchUpdate API with a replaceAllText request. Parameters:

google_docs_get_document

Gets the latest version of the specified document. Parameters:

google_docs_insert_page_break

Insert a page break into a Google Docs document at the specified position. Uses the batchUpdate API with an insertPageBreak request. Parameters:

google_docs_insert_table

Insert a table into a Google Docs document at the specified position. Uses the batchUpdate API with an insertTable request. Parameters:

google_docs_insert_text

Insert text at a specific location in a Google Docs document. Uses the batchUpdate API with an insertText request. Parameters:

google_docs_list_trigger_capabilities

List available Google Docs trigger types and their configurations. Returns the supported trigger types for document change monitoring.

google-docs_poll_trigger

Poll for changes to a specific Google Docs document by checking its current revision against a previous cursor. Returns change events when the document has been modified since the last poll. Parameters: