delete_sheet
Remove an unwanted worksheet from an Excel .xlsx workbook by name or 1-based index to clean or restructure the file.
Instructions
Delete a sheet from the 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": {
"file_path": "<file_path>",
"sheet": "<sheet>"
},
"name": "delete_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or 1-based index | |
| file_path | Yes | Absolute path to the .xlsx file |