Format a Google Sheet
format_sheetMake exported sheets readable by bolding headers, freezing top rows, and auto-sizing columns so content is not cut off.
Instructions
Make an exported sheet readable: bold the header row, FREEZE it so it stays visible while scrolling, and auto-size the columns so nothing is cut off. Worth calling right after create_sheet — a raw export with unsized columns and a header that scrolls away is the difference between a spreadsheet someone reads and one they close. Changes no cell VALUE, so it is never gated. The defaults do all three on the first tab; pass tab to pick another, freezeRows:0 to skip freezing, boldHeader:false or autoResize:false to skip those.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "format_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | tab title or numeric sheetId (default: the first tab) | |
| sheetUrl | No | Google Sheets link, instead of spreadsheetId | |
| autoResize | No | auto-size columns to fit their content; default true, false skips it | |
| boldHeader | No | bold the header row; default true, false skips it | |
| freezeRows | No | how many top rows to freeze (default 1, 0 = none) | |
| spreadsheetId | No | Google spreadsheet id; use this or sheetUrl |