Check Account Balance
balanceRetrieve the current USD account funds available through the live API without spending USD.
Instructions
Fetch the current API account balance in USD without spending USD. Unlike usage_summary, this reads the live balance.
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": "balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| balance | No | ||
| requestId | No |