Get balance, equity and margin
get_account_figuresBalance, equity, margin, free margin and margin level as decimal strings in the account currency, read every 15 s while online. Set fresh to ask the terminal now (the account must be ready). Example: {"account_id": "", "fresh": true}
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": {
"account_id": "<account_id>"
},
"name": "get_account_figures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | True to ask the terminal now instead of using the last read. | |
| account_id | Yes | The fxapis account id (a UUID) from list_accounts — not the MT5 login number. | |
| response_format | No | concise (default): what a next step needs. detailed: every field the API returns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figures | Yes |