delete_sheet_tab
Delete a spreadsheet worksheet and all its data permanently. Provide the spreadsheet ID and tab title; the last remaining tab cannot be removed.
Instructions
Delete a tab (worksheet) and all of its data — irreversible.
This removes the entire worksheet, not just its cells; there is no undo
through the API, so confirm the right tab (and that its contents are
expendable) before calling. A spreadsheet must keep at least one tab, so
the API rejects deleting the last remaining one.
sheet_id is the spreadsheet's ID (from its URL) and is required.
tab is the title of the worksheet to delete (see list_sheet_tabs).
Returns a summary.
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": {
"sheet_id": "<sheet_id>",
"tab": "<tab>"
},
"name": "delete_sheet_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| sheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |