format_fill
Apply background color to a range of cells in an Excel worksheet, supporting solid fill and pattern options.
Instructions
Apply background color 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>",
"color": "<color>"
},
"name": "format_fill"
}
}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') | |
| color | Yes | Hex color code (e.g., 'FFFF00' for yellow) | |
| fill_type | No | Fill type ('solid' or 'pattern') | solid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||