Usage by key and endpoint
usage_getCalls and points spent, broken down by key and endpoint, over the last 1-31 days: use when the user asks where their points went.
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": "usage_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window in days, 1-31 (default 7) | |
| key_id | No | Only this key |