Get account usage
get_account_usageReturns signed-in usage history and endpoint/source breakdown. Does not consume allowance. If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.
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_account_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional UTC end date (YYYY-MM-DD). | |
| from | No | Optional UTC start date (YYYY-MM-DD). |