excel_add_color_scale
Apply color scale formatting to Excel ranges to highlight data patterns. Set min, mid, and max colors for gradient conditional formatting.
Instructions
Add color scale 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>"
},
"name": "excel_add_color_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endCell | Yes | Range end | |
| filename | Yes | Workbook name | |
| maxColor | No | Max color hex | |
| midColor | No | Mid color hex | |
| minColor | No | Min color hex | |
| startCell | Yes | Range start | |
| worksheet | Yes | Worksheet name |