sheets_format
Apply custom formatting to Google Sheets cell ranges, including font styles, colors, alignment, number formats, and wrap options.
Instructions
Apply formatting to a range of cells: bold, italic, font size, background/text color, alignment, number format, wrap strategy.
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": {
"account": "<account>",
"spreadsheet_id": "<spreadsheet_id>",
"sheet_title": "<sheet_title>",
"range": "<range>"
},
"name": "sheets_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | Apply bold. | |
| range | Yes | A1 notation range, e.g. "A1:D1". | |
| italic | No | Apply italic. | |
| account | Yes | Account id. | |
| font_size | No | Font size in points. | |
| text_color | No | Text color as hex, e.g. "#FFFFFF". | |
| sheet_title | Yes | Sheet tab name. | |
| number_format | No | Number format pattern, e.g. "#,##0.00" or "MM/DD/YYYY". | |
| wrap_strategy | No | Cell text wrap strategy. | |
| spreadsheet_id | Yes | Spreadsheet ID. | |
| background_color | No | Background color as hex, e.g. "#FF0000". | |
| horizontal_alignment | No | Horizontal text alignment. |