rename_sheet
Rename an existing Excel worksheet by specifying the workbook path, the current sheet name or 1-based index, and the new name.
Instructions
Rename an existing sheet.
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_path": "<file_path>",
"sheet": "<sheet>",
"new_name": "<new_name>"
},
"name": "rename_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or 1-based index | |
| new_name | Yes | New name for the sheet | |
| file_path | Yes | Absolute path to the .xlsx file |