Manage Named Range
manage_named_rangeManage named ranges in Google Sheets: list, create, update, or delete ranges by name for easier formula and data reference.
Instructions
Manages the lifecycle of named ranges in a Google Sheet: list, create, update, or delete.
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": {
"user_google_email": "<user_google_email>",
"spreadsheet_id": "<spreadsheet_id>",
"action": "<action>"
},
"name": "manage_named_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the named range (required for "create"; optional identifier for "update"/"delete"). | |
| action | Yes | The operation to perform: "list", "create", "update", or "delete". Required. | |
| new_name | No | New name for the named range (used with action="update"). | |
| new_range | No | New A1-style range for the named range (used with action="update"). | |
| range_name | No | Target cell or range in A1 notation (e.g., "Sheet1!A1:D10", "A1:B5") (required for "create"). | |
| named_range_id | No | The ID of the named range (optional identifier for "update"/"delete"). | |
| spreadsheet_id | Yes | The ID of the spreadsheet. Required. | |
| user_google_email | Yes | The user's Google email address. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |