excel_delete_worksheet
Remove a specified worksheet from an opened Excel workbook by providing the workbook filename and worksheet name. Use it to clean up or restructure workbooks by deleting unwanted sheets.
Instructions
Delete worksheet
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": {
"filename": "<filename>",
"worksheet": "<worksheet>"
},
"name": "excel_delete_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Opened workbook name | |
| worksheet | Yes | Worksheet to delete |