My account balances
get_my_balancesEquity, free margin, used margin and open profit or loss on every exchange account the user connected (Hyperliquid, Bybit, Binance, OKX, sandbox), and the total. Use to report balances or to compare free margin across exchanges. Not needed before opening: size_position reads equity itself. Not for positions (use get_my_positions). No inputs. Amounts in USD (USDC / USDT count as USD). Next: get_my_positions.
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_my_balances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venues | Yes | One entry per connected venue | |
| deprecation | No | Present only while this tool is deprecated: replacement, removal_date, changelog | |
| total_equity | Yes | Sum of equity on every connected venue, USD (play money and exchange accounts together; see total_equity_by_book) | |
| total_equity_by_book | Yes | Equity per book, USD: sandbox (the built-in play money) and real (exchange accounts, demo or live); risk limits count each book apart |