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.
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_row": "<start_row>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| start_row | Yes | ||
| inherit_before | No | ||
| spreadsheet_id_or_url | Yes |