Rename Worksheet
rename_worksheetRename a worksheet in an open Excel workbook. Provide the workbook, current sheet name, and new name to update the sheet and receive the old and new names.
Instructions
Rename a worksheet in an open workbook.
Args: workbook: Workbook name or path (None = active workbook). name: Current sheet name (None = active sheet). new_name: New sheet name (required).
Returns: JSON with the old and new names.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rename_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| new_name | No | ||
| workbook | No |