llm_rate
Rate AI routing decisions as good or bad to store feedback, improving future model selection.
Instructions
Rate the last (or a specific) routing decision as good or bad.
Stores thumbs-up / thumbs-down feedback in the routing_decisions table.
Over time this signal can be used to retrain the local classifier so routing
choices improve based on your preferences.
Args: good: True = routing was a good choice; False = bad choice. decision_id: Row ID to rate. Omit (or pass None) to rate the most recent routing decision.
Returns: Confirmation string with the rated decision ID, or an error message.
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": {
"good": "<good>"
},
"name": "llm_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| good | Yes | ||
| decision_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |