vora_set_traffic_light
Sets the signed-in user's own traffic-light levels for one numeric biomarker and replaces existing ones. The limits are the user's own; Vora suggests and rates nothing. 2 to 5 levels: n-1 limits in ascending order for n levels, plus the direction. Colors follow from count and direction (lower_better: green, yellow, orange, red, violet from low to high values; higher_better: reversed). Scale values such as the Bristol chart have no levels.
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": {
"slug": "<slug>",
"direction": "<direction>",
"bounds": "<bounds>"
},
"name": "vora_set_traffic_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Biomarker slug, e.g. 'gki' | |
| bounds | Yes | Limits in ascending order, e.g. [1, 2, 3] for green <1, yellow <2, orange <3, red ≥3 | |
| labels | No | Optional own label per level, lowest values first; null keeps the color name | |
| direction | Yes | Whether a lower or a higher value is better, as stated by the user |