delete_range
Remove specified text segments from Google Docs by defining start and end positions to delete content within a document range.
Instructions
Delete content within a specified range from a document or tab.
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": {
"document_id": "<document_id>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "delete_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| start_index | Yes | Starting index of the range (inclusive, 1-based) | |
| end_index | Yes | Ending index of the range (exclusive) | |
| tab_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |