delete_sheet
Remove a specific sheet from a spreadsheet file to delete its data permanently. Works with .xlsx and .ods formats.
Instructions
Delete a sheet by name from the workbook.
All data in the sheet is permanently removed. Not supported for CSV files.
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>",
"name": "<name>"
},
"name": "delete_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the spreadsheet file | |
| name | Yes | Name of the sheet to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |