api_costs
Track API spending across providers with detailed cost breakdowns. Monitor usage expenses over custom time periods using formatted tables.
Instructions
Show API usage costs broken down by provider.
Args: days: Number of days to look back (default 30).
Returns: Formatted table of API costs per provider.
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": "api_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |