delete_rows_columns
Delete a range of rows or columns from a Google Sheets spreadsheet by specifying start and end indices.
Instructions
Delete rows or columns from a sheet.
Args: spreadsheet_id: The ID of the spreadsheet sheet: Sheet/tab name dimension: 'ROWS' or 'COLUMNS' start_index: 0-based start index (inclusive) end_index: 0-based end index (exclusive)
Returns: Result of the delete 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>",
"dimension": "<dimension>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "delete_rows_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| sheet | Yes | ||
| dimension | Yes | ||
| start_index | Yes | ||
| end_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |