Insert rows
insert_rowsInsert blank rows at a chosen position in a Google Sheet, shifting existing rows down while formulas and references adjust automatically.
Instructions
Insert blank rows at a position, shifting existing rows down. Existing formulas and references adjust automatically.
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": {
"spreadsheetId": "<spreadsheetId>",
"startRow": "<startRow>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many to affect | |
| sheet | No | Sheet (tab) name; defaults to the first sheet | |
| startRow | Yes | 1-based row number where the operation starts (as shown in the sheet) | |
| spreadsheetId | Yes | Spreadsheet ID or full Google Sheets URL | |
| inheritFromBefore | No | Inherit formatting from the row above instead of the row below |