get_token_usage
Generate a token usage and cost report for an agent over a specified date range, with optional granularity.
Instructions
Token usage and cost report for an agent over a date range.
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": {
"agent": "<agent>",
"from_": "<from_>",
"to": "<to>"
},
"name": "get_token_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| agent | Yes | ||
| from_ | Yes | ||
| granularity | No |