create_named_range
Create named ranges in Google Docs to reference specific document sections by name instead of index positions for easier cross-referencing.
Instructions
Create a named range for cross-referencing.
Named ranges allow you to reference specific portions of a document by name instead of by index positions.
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>",
"name": "<name>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "create_named_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| name | Yes | Name for the range | |
| start_index | Yes | Starting index (inclusive, 1-based) | |
| end_index | Yes | Ending index (exclusive) | |
| tab_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |