update_dimension_group
Collapse or expand a row/column group in a Google Sheets spreadsheet by specifying the dimension, start and end indices, and collapsed state.
Instructions
Collapse or expand a row/column group.
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>",
"collapsed": "<collapsed>"
},
"name": "update_dimension_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| collapsed | Yes | ||
| dimension | Yes | ||
| end_index | Yes | ||
| start_index | Yes | ||
| spreadsheet_id | Yes |