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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| sheet_id | Yes | ||
| new_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |