Delete rows
google_sheets_delete_rowsDeletes one or more rows from a Google Sheets sheet starting at a specified 0-based row index, enabling precise cleanup or restructuring of spreadsheet data.
Instructions
Delete rows from a sheet starting at a 0-based row index.
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>",
"sheetId": "<sheetId>",
"startIndex": "<startIndex>"
},
"name": "google_sheets_delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account nickname to use. | |
| numRows | No | Number of rows (default 1). | |
| sheetId | Yes | Numeric sheet ID (from google_sheets_get metadata). | |
| startIndex | Yes | 0-based row index of the first row to delete. | |
| spreadsheetId | Yes | Spreadsheet ID. |