Delete range
google_docs_delete_rangeDelete a specified range of content from a Google Docs document by document ID and start/end indices, enabling precise text removal for automated document editing.
Instructions
Delete a range of content from a document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"startIndex": "<startIndex>",
"endIndex": "<endIndex>"
},
"name": "google_docs_delete_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account nickname to use. | |
| endIndex | Yes | 1-based end index (exclusive). | |
| documentId | Yes | Document ID. | |
| startIndex | Yes | 1-based start index (inclusive). |