ungroupAllRows
Removes all row groupings from a sheet by deleting the row dimension group. Run before regrouping to prevent duplicate collapse widgets across report refreshes.
Instructions
Removes all row groupings from a sheet by deleting the entire row dimension group. Use before re-running groupRows to prevent duplicate collapse widgets from accumulating across report refreshes.
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>"
},
"name": "ungroupAllRows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetName | No | Name of the sheet/tab. Defaults to the first sheet if not provided. | |
| totalRows | No | Number of rows to clear groups from (default: 500). Set higher if the sheet has more rows. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. |