delete_rows
Deletes a range of rows from a Google Sheets spreadsheet using the spreadsheet ID, sheet ID, starting row index, and number of rows to remove.
Instructions
Delete rows from a sheet.
Args: spreadsheet_id: The ID of the spreadsheet. sheet_id: The numeric ID of the sheet. start_index: Starting row index (0-based). num_rows: Number of rows to delete.
Returns: Success message.
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_id": "<sheet_id>",
"start_index": "<start_index>",
"num_rows": "<num_rows>"
},
"name": "delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_rows | Yes | ||
| sheet_id | Yes | ||
| start_index | Yes | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |