Report how a briefed task went
record_outcomeRecord whether a chosen agent's work was accepted, revised, rejected, or wrong to refine router weights and improve future agent selection.
Instructions
Tell the router whether the agent it chose was right. This adjusts the term-to-agent weights it consults, so routing improves with use. Call after the user reacts to a subagent's work.
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": {
"task": "<task>",
"agent": "<agent>",
"outcome": "<outcome>"
},
"name": "record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The original task text, so the same terms get reweighted. | |
| agent | Yes | The agent that was used. | |
| notes | No | ||
| outcome | Yes | accepted = good; revised = needed edits; rejected = unusable; wrong_agent = wrong specialist. | |
| correct_agent | No | For 'wrong_agent': the agent that should have handled it. |