Get credits and plan
getAccountShow your account's credit balance, plan and auto top-up settings. credits.available is what generations can spend right now (plan_credits + extra - used); resets_at is when the plan's monthly credits refill (unix seconds). When team_pool is true the balance is your team's shared pool, and auto_topup is null because the team owner manages it. Check this before an expensive generation instead of waiting for a 402. Auto top-up is changed in the web app at billing_url. This is a free read-only lookup (no credits, no generation).
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": "getAccount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||