Get balance
get_balanceRead the remaining credit balance: the pooled account, or one end user via external_user_id with a secret key. Use before a large spend or after an insufficient-credits error. Free.
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_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_user_id | No | End-user id; secret-key auth only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| credits | No |