excel_add_conditional_format
Add conditional formatting to Excel worksheet ranges with rule types, operators, formulas, and formats to automatically highlight matching cells.
Instructions
Add conditional formatting
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>",
"endCell": "<endCell>",
"ruleType": "<ruleType>",
"format": "<format>"
},
"name": "excel_add_conditional_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Format when met | |
| endCell | Yes | Range end | |
| filename | Yes | Workbook name | |
| formula1 | No | First value/formula | |
| formula2 | No | Second value (between/notBetween) | |
| operator | No | Operator (cellValue only) | |
| ruleType | Yes | Rule type | |
| startCell | Yes | Range start | |
| worksheet | Yes | Worksheet name |