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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| force | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| start_column | Yes | ||
| spreadsheet_id_or_url | Yes |