get_agent_usage
Retrieve usage statistics and credits consumed for a specific agent, optionally filtered by date range, to track consumption and support billing or capacity planning.
Instructions
Get agent usage statistics and credits consumed
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": {
"agentId": "<agentId>"
},
"name": "get_agent_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Optional date range for usage stats | |
| agentId | Yes | The agent ID to get usage for |