Report resource usage
budget_reportRecord usage metrics for a mission or task with atomic updates and enforce hard budget limits. Track tokens, cost, wall-clock time, and tool calls to keep agent runs within defined constraints.
Instructions
Atomically add token, cost, wall-time, and tool-call usage to a mission and optionally a task. Hard limits are enforced.
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": {
"missionId": "<missionId>",
"actorId": "<actorId>",
"expectedMissionVersion": "<expectedMissionVersion>",
"usage": "<usage>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "budget_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | Yes | ||
| taskId | No | ||
| actorId | Yes | ||
| missionId | Yes | ||
| idempotencyKey | Yes | ||
| expectedTaskVersion | No | ||
| expectedMissionVersion | Yes |