resize_sheet_columns
Resize columns in a sheet.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"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
| Name | Type | Description |
|---|---|---|
spreadsheet_idrequired | string | the spreadsheet ID (from its URL or get_sheet_metadata). |
sheet_namerequired | string | the tab name. |
start_colrequired | integer | Start column index (0-based). |
end_colrequired | integer | End column index (exclusive). |
widthrequired | integer | Width in pixels. |
Result
Every tool answers {notification, data, human_action}; data carries:
- Success confirmation.
Example
resize_sheet_columns("1ABC...", "Sheet1", 0, 3, 150)