freeze_sheet_panes

Freeze rows and/or columns in a sheet.

writeGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "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

NameTypeDescription
spreadsheet_idrequiredstringthe spreadsheet ID (from its URL or get_sheet_metadata).
sheet_namerequiredstringthe tab name.
rowsintegerthe 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.
colsintegerthe 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)

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude