delete_worksheet
Permanently removes a worksheet from an open workbook. Use it to clean up sheets, but verify formulas referencing it first.
Instructions
Delete a worksheet from the workbook. This removes its contents permanently and can break formulas referencing it.
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": {
"sheetName": "<sheetName>"
},
"name": "delete_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetName | Yes | Name of the worksheet to delete. | |
| workbookId | No | Target workbook ID from list_workbooks. Optional when only one workbook is connected. |