Delete Worksheet
delete_worksheetRemove a worksheet from an already-open Excel workbook by specifying the workbook and sheet name. Excel blocks deletion of the last visible sheet to keep at least one sheet available.
Instructions
Delete a worksheet from an open workbook.
Args: workbook: Workbook name or path (None = active workbook). name: Sheet to delete (required).
Returns: JSON confirmation. Excel will refuse to delete a workbook's only remaining visible sheet.
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": "delete_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| workbook | No |