add_rows
Adds specified number of rows to a Google Sheet at a given starting position. Use to insert blank rows for data entry or automation.
Instructions
Add rows to a sheet in a Google Spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet (found in the URL) sheet: The name of the sheet count: Number of rows to add start_row: 0-based row index to start adding. If not provided, adds at the beginning.
Returns: Result of the operation
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>",
"count": "<count>"
},
"name": "add_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| sheet | Yes | ||
| count | Yes | ||
| start_row | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |