# freeze_sheet_panes (https://sellersheetai.com/docs/mcp-api/tools/freeze_sheet_panes)

> Freeze rows and/or columns in a sheet.

Access: **WRITE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "freeze_sheet_panes",
  "arguments": {
    "spreadsheet_id": "<spreadsheet_id>",
    "sheet_name": "<sheet_name>"
  }
}
```

Tool API (early access — contact us):

```bash
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>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `spreadsheet_id` | string | yes | the spreadsheet ID (from its URL or get_sheet_metadata). |
| `sheet_name` | string | yes | 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

- `data.rows / data.cols` — the frozen counts after the call.

## Example

- freeze_sheet_panes("1ABC...", "Sheet1", rows=2, cols=1)