freeze_sheet_panes
Freeze rows and/or columns in a sheet.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "freeze_sheet_panes",
"arguments": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet_name": "<sheet_name>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/freeze_sheet_panes \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spreadsheet_id":"<spreadsheet_id>","sheet_name":"<sheet_name>"}'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. |
rows | integer | the rows to freeze from the top / the columns to freeze from the left. Omit one to keep its current count; pass 0 to unfreeze it. |
cols | integer | the rows to freeze from the top / the columns to freeze from the left. Omit one to keep its current count; pass 0 to unfreeze it. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.rows / data.cols— the frozen counts after the call.
Example
freeze_sheet_panes("1ABC...", "Sheet1", rows=2, cols=1)