spend
Analyze API usage costs by capability and provider, showing total spend, execution counts, and cost averages for specified periods.
Instructions
Get your spend breakdown by capability and provider. Shows total spend, execution count, and cost averages. Defaults to current month.
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": "spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Period (YYYY-MM). Defaults to current month. |