Summarise usage
get_usage_summaryRetrieve total spend for a period, broken down by component, provider, and model, to see where costs are incurred.
Instructions
Total spend over a period, broken down by component, provider and model. total_micros is micro-USD; total_display is human-readable.
Requires scope usage:read.
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": "get_usage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Period end. Defaults to now. | |
| start | No | Period start. Defaults to the start of the current month. |