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.
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": {
"file": "<file>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_sheet"
}
}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 |