ai_admin_query_costs
Query normalized cost facts from enabled AI providers. Specify provider-specific options to get cost data for OpenAI and Anthropic.
Instructions
Query normalized cost 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_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| providers | No | ||
| include_raw | No | ||
| credential_refs | No | ||
| provider_options | No |