format_font
Apply font formatting to a range of Excel cells, including font name, size, bold, italic, underline, and color. Works without Microsoft Excel.
Instructions
Apply font formatting to a range of cells.
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": {
"workbook_path": "<workbook_path>",
"sheet_name": "<sheet_name>",
"range_ref": "<range_ref>"
},
"name": "format_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workbook_path | Yes | Path to the Excel workbook | |
| sheet_name | Yes | Name of the worksheet | |
| range_ref | Yes | Range to format (e.g., 'A1:B10') | |
| font_name | No | Font name (e.g., 'Arial', 'Calibri') | |
| font_size | No | Font size (8-72) | |
| bold | No | Bold text | |
| italic | No | Italic text | |
| underline | No | Underline style ('single', 'double', or None) | |
| color | No | Hex color code (e.g., 'FF0000' for red) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||