delete_sheet
Delete an entire sheet from a Google Sheets spreadsheet. Dry-run mode (enabled by default) prevents accidental deletion, and a snapshot is created for restoration.
Instructions
Delete an entire sheet (destructive — dry_run defaults to TRUE).
The whole sheet's values (formulas preserved) and its properties are snapshotted so the sheet can be recreated. Formatting is not restored.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. dry_run: Defaults to TRUE. Pass false to actually delete. force: Allow deletion of sheets larger than the cell limit.
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_or_url": "<spreadsheet_id_or_url>",
"sheet": "<sheet>"
},
"name": "delete_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| spreadsheet_id_or_url | Yes |