spreadsheet.deleteSheet
Remove a specific sheet from a spreadsheet while preserving other sheets, ensuring the spreadsheet maintains at least one remaining sheet.
Instructions
Delete a sheet from a standalone spreadsheet. Cannot delete the last sheet.
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": {
"index": "<index>"
},
"name": "spreadsheet.deleteSheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | No | Document ID (optional - uses active) | |
| index | Yes | Sheet index to delete |