insert_rows
Inserts rows before a specified starting index in a Google Sheet. Uses zero-based indices to define the range of rows to add, with an option to inherit formatting from the row above.
Instructions
Insert rows before start_index; indices are zero-based and half-open.
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": "<spreadsheet_id>",
"sheet": "<sheet>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| end_index | Yes | ||
| start_index | Yes | ||
| spreadsheet_id | Yes | ||
| inherit_from_before | No |