rename_sheet
Renames a worksheet while applying Excel naming rules and preventing duplicates. Formulas referencing that sheet update automatically to the new name.
Instructions
Rename a worksheet (Excel name rules, no duplicate names). Formulas that refer to it follow the new name. Verified by listing the sheets afterwards.
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>",
"sheet": "<sheet>",
"newName": "<newName>"
},
"name": "rename_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| send | No | false (default) = dry run: shows what would change. true = write — only after the user approved (or a standing rule allows it) | |
| sheet | Yes | Worksheet name exactly as listed by resolve | |
| newName | Yes |