token_usage
Retrieve token and cost totals from OpenTelemetry traces, and aggregate usage across all runs when no trace ID is provided.
Instructions
Token and cost totals. Omit trace_id to aggregate across all runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |