Get an account
get_accountOne account: login, broker, state, environment, and its last-read balance, equity and free margin. Example: {"account_id": ""}
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| account | Yes |