# ungroup_sheet_rows_cols (https://sellersheetai.com/docs/mcp-api/tools/ungroup_sheet_rows_cols)

> Remove a row/column group (ungroup).

Access: **WRITE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "ungroup_sheet_rows_cols",
  "arguments": {
    "spreadsheet_id": "<spreadsheet_id>",
    "range_": "<range_>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/ungroup_sheet_rows_cols \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"spreadsheet_id":"<spreadsheet_id>","range_":"<range_>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `spreadsheet_id` | string | yes | the spreadsheet ID (from its URL or get_sheet_metadata). |
| `range_` | string | yes | A1 range with sheet name. |
| `dimension` | string |  | 'COLUMNS' or 'ROWS'. |

## Result

- { sheetId, ungrouped: true }

## Gotchas

- Every range here must name its tab; an open end is allowed ('Tab!C7:C' runs to the bottom, 'Tab!A:D' is whole columns); a range without a tab ('A1:D10') is refused. The grouped axis needs both ends ('Tab!C:F', 'Tab!5:20').

## Example

- ungroup_sheet_rows_cols("1ABC...", "Listing!F1:J1", "COLUMNS")