rename_sheet
Change the name of a sheet in a spreadsheet file by specifying the current name and desired new name.
Instructions
Rename an existing sheet in the workbook.
Returns the new sheet name on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the spreadsheet file | |
| old_name | Yes | Current name of the sheet to rename | |
| new_name | Yes | New name for the sheet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |