create_named_range
Create a named range in a Google Sheet by specifying the spreadsheet, sheet, start/end rows and columns, and a name.
Instructions
Create a named range in the spreadsheet
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": {
"spreadsheet_id": "<spreadsheet_id>",
"name": "<name>",
"sheet_id": "<sheet_id>",
"start_row": "<start_row>",
"end_row": "<end_row>",
"start_column": "<start_column>",
"end_column": "<end_column>"
},
"name": "create_named_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the range | |
| end_row | Yes | Ending row index (exclusive) | |
| sheet_id | Yes | The ID of the sheet | |
| start_row | Yes | Starting row index (0-based) | |
| end_column | Yes | Ending column index (exclusive) | |
| start_column | Yes | Starting column index (0-based) | |
| spreadsheet_id | Yes | The ID of the spreadsheet |