set_cell_highlight_config
Set or clear trend-coloring rules for a run-mode cell's result grids: flash cells that moved up or down since the last refresh, flag threshold breaches, band values into steps, or shade ranges.
Instructions
Set or clear the highlight rules of a run-mode cell's result grids (trend coloring): flash cells that moved up or down since the previous refresh, color threshold breaches, band values into steps, or shade a range. One config per cell, applied to every statement's grid by column name; a grid without the column is not affected. Replaces the whole config (PUT). highlight_config: null clears it. Typical watchlist: identity_columns ["symbol"], rules [{kind:"previous",column:"price",op:"gt",color:"green"},{kind:"previous",column:"price",op:"lt",color:"red"}]. Pair with set_cell_autorefresh so the grid ticks. Colors are hue names (theme-aware): red, teal, amber, lime, orange, purple, green, pink, blue, olive; red and green are the loss/gain pair.
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": {
"buffer_id": "<buffer_id>",
"cell_id": "<cell_id>",
"highlight_config": "<highlight_config>"
},
"name": "set_cell_highlight_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_id | Yes | ||
| buffer_id | Yes | ||
| highlight_config | Yes | Highlight rules for the cell's result grids. Rules evaluate top-down per cell; the first match colors the background. previous rules also show an up/down glyph. |