insert_rows
Insert blank rows before a specific row number in a Google Sheet, with options to inherit formatting and preview changes via dry run.
Instructions
Insert blank rows before the given row number.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. start_row: 1-indexed row number the new rows are inserted BEFORE (start_row=3 inserts new rows as row 3..). count: Number of rows to insert. inherit_before: Inherit formatting from the row above. dry_run: If true, return the execution plan without changing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| start_row | Yes | ||
| inherit_before | No | ||
| spreadsheet_id_or_url | Yes |