rename_worksheet
Rename a worksheet in an .xlsx workbook by specifying the file path, current name, and new name, so agents can update sheet labels without Excel.
Instructions
Rename worksheet in workbook.
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": {
"filepath": "<filepath>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| new_name | Yes | ||
| old_name | Yes |