delete_sheet
Delete a specific sheet from a Google Sheets spreadsheet using its numeric sheet ID and spreadsheet ID. Streamline sheet organization by removing unused or unwanted tabs.
Instructions
Delete a sheet from a spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet. sheet_id: The numeric ID of the sheet (from list_sheets).
Returns: Success message.
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": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet_id": "<sheet_id>"
},
"name": "delete_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |