Get account and credits
accountReturns the calling API key's account info and current usage: plan tier, rate limits (per minute in requests, per day / month in credits), credits used and left, and enabled scopes. It also returns the purposes declared for the account and for this key (declared_purposes, key_purposes; null until declared) and the legal documents the account accepted (accepted_documents: document, version, day, link). Costs no credits. Use this to check "how many credits do I have left?".
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||