hub_usage_add
Add a usage record for an agent task by supplying measured values like seconds, tokens, cost, or model. At least one number is required; the hub reports these as supplied without mixing in its own measurements.
Instructions
Record what only YOU can see about a piece of work: seconds, tokens, cost, model. The hub cannot observe any of these, so they arrive here explicitly and are reported back as SUPPLIED, never mixed with what the hub measured itself. At least one number is required — an empty entry would record a $0 session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| agent | Yes | ||
| model | No | ||
| costUsd | No | ||
| project | No | ||
| seconds | No | ||
| tokensIn | No | ||
| tokensOut | No |