API token usage
account_usageThe user's ASOMobile plan, API tokens remaining in the current period and the cost of recent requests. Shows plan, remaining API tokens and the cost of recent requests.
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": "account_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent requests to include (0–100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan name. | |
| period_end | No | End of the paid period, Unix seconds; null for unlimited plans. | |
| tokens_total | Yes | API tokens included in the current period. | |
| recent_requests | No | Most recent API requests with their token cost. | |
| tokens_remaining | Yes | API tokens left in the current period. |