delete_columns
Delete specified columns from a Google Sheets sheet. Supports dry-run mode with automatic snapshot backup before deletion.
Instructions
Delete columns (destructive — dry_run defaults to TRUE).
The full contents of the columns are snapshotted before deletion.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. start_column: Column letter ('B') or 1-indexed number of the first column to delete. count: Number of columns to delete. dry_run: Defaults to TRUE. Pass false to actually delete. force: Allow deletions touching more 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>",
"start_column": "<start_column>"
},
"name": "delete_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| force | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| start_column | Yes | ||
| spreadsheet_id_or_url | Yes |