ungroup_sheet_rows_cols

Remove a row/column group (ungroup).

writeGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "ungroup_sheet_rows_cols",
  "arguments": {
    "spreadsheet_id": "<spreadsheet_id>",
    "range_": "<range_>"
  }
}

From code (Tool API)

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_>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
spreadsheet_idrequiredstringthe spreadsheet ID (from its URL or get_sheet_metadata).
range_requiredstringA1 range with sheet name.
dimensionstring'COLUMNS' or 'ROWS'.Default: "COLUMNS"

Result

Every tool answers {notification, data, human_action}; data carries:

  • { 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")

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude