Show your account balance, credit and earnings
account_balanceShows your gaents account: balance in USD, money received by kind (starter credit, paid top-ups, sales), active API keys, seller earnings if you sell, and how to top up. Use it to check you can afford a paid call, or to see your balance after one. Use job_status instead for one past call's outcome and charge. Use seller_statement instead for every ledger row in a period. Free: reading your account is never charged. Auth: Authorization: Bearer (POST /v1/accounts gives one). Errors (isError, error.code): 401 bad_api_key.
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_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topup | No | how to add credit and its limits | |
| seller | No | seller earnings, or null when you sell nothing | |
| account | Yes | ||
| money_in | No | ||
| balance_usd | Yes | ||
| keys_active | No | ||
| balance_micro | No | ||
| payments_open | No |