rename_sheet
Rename a sheet tab in a Google spreadsheet. Provide the spreadsheet ID or URL, current sheet name or gid, and the new title. Use dry run to preview changes first.
Instructions
Rename a sheet (tab).
Note: if the whitelist lists sheets by name, update the whitelist entry after renaming — the old name will no longer match.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. new_title: New sheet name. dry_run: If true, return the execution plan without changing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| dry_run | No | ||
| new_title | Yes | ||
| spreadsheet_id_or_url | Yes |