deleteSheet
Deletes a sheet (tab) from a Google Sheets spreadsheet using its numeric sheet ID, which you can find with getSpreadsheetInfo before removing the tab.
Instructions
Deletes a sheet (tab) from a spreadsheet. Use getSpreadsheetInfo to find the numeric sheet ID.
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": {
"spreadsheetId": "<spreadsheetId>",
"sheetId": "<sheetId>"
},
"name": "deleteSheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetId | Yes | The numeric sheet ID to delete. Use getSpreadsheetInfo to find sheet IDs. | |
| readHandle | No | Capability returned by the corresponding read tool. Required on the modern MCP runtime, including modern stdio. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. | |
| valueReadHandle | No | Additional readSpreadsheet handle covering all deleted cells across the full current grid height. Required on the modern runtime. Deletion consumes both handles; reread before another mutation. |