rename_sheet_tab
Rename a worksheet tab in a Google Spreadsheet by supplying the spreadsheet ID, current tab name, and new title. Prevents duplicate tab names and returns a confirmation summary.
Instructions
Rename an existing tab (worksheet).
sheet_id is the spreadsheet's ID (from its URL) and is required.
tab is the current tab title (see list_sheet_tabs); new_title
is what to rename it to and must not collide with another existing tab.
Returns a summary. Note that ranges referencing the old title (e.g.
<tab>!A1) must use new_title after this.
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": {
"sheet_id": "<sheet_id>",
"tab": "<tab>",
"new_title": "<new_title>"
},
"name": "rename_sheet_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| sheet_id | Yes | ||
| new_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |