ai_admin_query_usage
Query normalized usage facts from enabled AI providers. Pass provider-specific options to filter data by date range and provider.
Instructions
Query normalized usage facts from one or more enabled providers. Pass provider-specific options under provider_options[provider_id].
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": {
"start": "<start>",
"end": "<end>"
},
"name": "ai_admin_query_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| providers | No | ||
| include_raw | No | ||
| bucket_width | No | 1d | |
| credential_refs | No | ||
| provider_options | No |