usage_query
Filter and retrieve raw usage log entries by provider, model, project, or date range.
Instructions
Query individual usage records with filters. Returns raw usage log entries.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "usage_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (ISO format) | |
| from | No | Start date (ISO format) | |
| limit | No | Maximum records to return (default: 100) | |
| model | No | Filter by model | |
| project | No | Filter by project | |
| provider | No | Filter by provider |