delete_rows
Delete specified rows from a Google Sheet, with a safe dry-run mode that snapshots rows before removal.
Instructions
Delete rows (destructive — dry_run defaults to TRUE).
The full contents of the rows are snapshotted (formulas preserved) before deletion.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. start_row: 1-indexed first row to delete. count: Number of rows 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_row | Yes | ||
| spreadsheet_id_or_url | Yes |