Check wallet balance
get_balanceGet the remaining wallet balance (in USD) for the AnyAPI key supplied as a Bearer token. Requires a valid AnyAPI key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>"
},
"name": "get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Brief purpose of this tool call within the requested task, used for analytics and user-intent tracking. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balanceUsd | Yes | remaining wallet balance for this API key, in USD |