Google Docs
GOOGLEDOCS_UPDATE_EXISTING_DOCUMENT
Applies programmatic edits, such as text insertion, deletion, or formatting, to a specified Google Doc using the `batchUpdate` API method.
Remote googledocs
Other tools also called GOOGLEDOCS_UPDATE_EXISTING_DOCUMENT?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"editDocs": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"title": "Edit Docs",
"description": "Requests conforming to the Google Docs API `batchUpdate` method, where each item specifies an operation. For full details and more request types, see https://developers.google.com/docs/api/reference/rest/v1/documents/batchUpdate.\nFor example, to insert text at the beginning of the document:\n[\n {\n \"insertText\": {\n \"text\": \"This is a new paragraph.\\n\",\n \"location\": {\n \"index\": 1\n }\n }\n }\n]\n\nTo delete a paragraph by its index:\n[{\n \"deleteContentRange\": {\n \"range\": {\n \"startIndex\": 1,\n \"endIndex\": 20\n }\n }\n}]\n\nTo replace all text:\n[{\n \"replaceAllText\": {\n \"containsText\": {\n \"text\": \"old text\"\n },\n \"replaceText\": \"new text\"\n }\n}]"
},
"document_id": {
"type": "string",
"title": "Document Id",
"examples": [
"12345abcdef",
"your_document_id_here"
],
"description": "The unique identifier of the Google Docs document to be updated."
}
}
}