resize_sheet_columns

Resize columns in a sheet.

writeGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "resize_sheet_columns",
  "arguments": {
    "spreadsheet_id": "<spreadsheet_id>",
    "sheet_name": "<sheet_name>",
    "start_col": 1,
    "end_col": 1,
    "width": 1
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/resize_sheet_columns \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"spreadsheet_id":"<spreadsheet_id>","sheet_name":"<sheet_name>","start_col":1,"end_col":1,"width":1}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
spreadsheet_idrequiredstringthe spreadsheet ID (from its URL or get_sheet_metadata).
sheet_namerequiredstringthe tab name.
start_colrequiredintegerStart column index (0-based).
end_colrequiredintegerEnd column index (exclusive).
widthrequiredintegerWidth in pixels.

Result

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

  • Success confirmation.

Example

resize_sheet_columns("1ABC...", "Sheet1", 0, 3, 150)

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude