freezeRowsAndColumns
Pins rows and columns in a Google Sheet so headers stay visible while scrolling. Set frozenRows or frozenColumns to 1; use 0 to unfreeze.
Instructions
Pins rows and/or columns so they stay visible when scrolling. Use frozenRows=1 to freeze a header row. Set a value to 0 to unfreeze.
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": {
"spreadsheetId": "<spreadsheetId>"
},
"name": "freezeRowsAndColumns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetName | No | Name of the sheet/tab. Defaults to the first sheet if not provided. | |
| frozenRows | No | Number of rows to freeze from the top (e.g., 1 for a header row). Set to 0 to unfreeze rows. | |
| frozenColumns | No | Number of columns to freeze from the left. Set to 0 to unfreeze columns. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. |