Delete rows
delete_rowsDelete entire rows from a Google Sheet and shift the rows below up, removing the rows themselves rather than clearing only their values.
Instructions
Delete entire rows, shifting the rows below up. This removes the rows themselves, not just their values.
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": "delete_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 |