freeze
Locks specified rows and columns in a Google Sheets tab to keep headers visible; set counts to 0 to unlock all.
Instructions
Freeze rows and/or columns in a sheet.
Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet rows: Number of rows to freeze (0 to unfreeze all rows) columns: Number of columns to freeze (0 to unfreeze all columns)
Returns: Result of the batchUpdate operation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet": "<sheet>"
},
"name": "freeze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| sheet | Yes | ||
| columns | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||