report_run_end
Records how a goal run's agent completed a turn, including token usage and final answer; a usage limit pauses goal runs until reset. Plugin-only internal call.
Instructions
Reports how a goal run's agent finished a turn: a usage limit skips the run and holds goal runs until the reset. For the quarterdeck-goals plugin only: agents and the model must not call this.
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": {
"run_id": "<run_id>",
"answer": "<answer>"
},
"name": "report_run_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | The turn's token counts, added to the run | |
| answer | Yes | The run agent's final message | |
| reason | No | turn.complete's reason, e.g. error | |
| run_id | Yes | ||
| run_scope | No | A goal run passes its run id here; anyone else leaves it out. |