delete_dimension
Delete a range of rows or columns from a Google Sheet by providing the dimension and start and end indexes.
Instructions
Delete columns or rows
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>",
"dimension": "<dimension>",
"start_index": "<start_index>",
"end_index": "<end_index>"
},
"name": "delete_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | The ID of the sheet | |
| dimension | Yes | Whether to delete rows or columns | |
| end_index | Yes | Ending index (exclusive) | |
| start_index | Yes | Starting index (0-based) to delete | |
| spreadsheet_id | Yes | The ID of the spreadsheet |