report_outcome
Report an agent task's success or failure for a specific navigation, linking outcome data for future policy optimization.
Instructions
Bind a task outcome (success/failure/quality) to a previous navigation_id from a navigate() call. Used by the policy framework's outcome protocol — see docs/probabilistic-policy.md §4.5. v0 emits an outcome_reported NDJSON event for the navigation; no posterior updates yet. Drivers should call this once per agent task so future Bayesian phases (B/D-2) can attribute extraction success/failure to specific policy decisions.
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": {
"navigation_id": "<navigation_id>",
"success": "<success>"
},
"name": "report_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Optional human-readable error/explanation when success=false. | |
| quality | No | Optional 0..1 quality score (e.g. fraction of expected fields extracted). | |
| success | Yes | Did the agent's task succeed? | |
| task_id | No | Optional opaque id chosen by the driver for cross-system correlation. | |
| task_class | No | What kind of task succeeded/failed. Lets future posteriors condition on task class. | |
| navigation_id | Yes | The id returned by navigate() — joins this outcome to the policy_trace event. |