excel_set_background_color
Sets the background color of a cell or cell range in an open Excel worksheet using hex color values for visual highlighting and formatting.
Instructions
Set background color
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"color": "<color>"
},
"name": "excel_set_background_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Color hex (e.g., FFFF0000) | |
| endCell | No | End cell (optional) | |
| filename | Yes | Opened workbook name | |
| startCell | Yes | Start cell (e.g., A1) | |
| worksheet | Yes | Worksheet name |