Record how a routed request turned out
arobi_record_route_outcomeRecords a routed request's outcome—quality score or success flag—plus optional candidate comparison to teach learned escalation, seals a ROUTE_OUTCOME record, and returns routing stats.
Instructions
Teach learned escalation: record the outcome of a request routed by arobi_classify_and_route in this run (quality 0 to 1, or ok), and optionally how it compared with another candidate on the same request. Uses that decision's content-free features, seals a ROUTE_OUTCOME record, and returns the run's routing stats.
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": {
"routing_record_hash": "<routing_record_hash>"
},
"name": "arobi_record_route_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Instead of quality: true for a successful answer (1), false for a failed one (0). | |
| record | No | Default true. Set false to learn from it without sealing a chain record. | |
| quality | No | How good the answer was, 0 to 1. | |
| candidate_id | No | The candidate that answered; default the one that decision selected. | |
| compared_with | No | Optional: a comparison with another capable candidate of the same decision on this request. | |
| routing_record_hash | Yes | record_hash of the ROUTING_DECISION record the outcome is about. |