hub_usage_add
Record agent-observed usage metrics: seconds, tokens, cost, and model. Submit at least one value to log the session; hub reports these as supplied, not measured.
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 |