format_cells
Apply font, fill, border, alignment, and number formats to an Excel cell range to make workbook data clear and consistent.
Instructions
Apply formatting (font, fill, border, alignment, number format) to a cell range.
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": {
"file_path": "<file_path>",
"sheet": "<sheet>",
"range": "<range>",
"format": "<format>"
},
"name": "format_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Cell range (e.g. 'A1:C10') | |
| sheet | Yes | Sheet name or 1-based index | |
| format | Yes | Format options to apply | |
| file_path | Yes | Absolute path to the .xlsx file |