Symbol snapshot
get_symbol_snapshotOne symbol on one account in one call: its specification, live quote, whether the market is open, and the margin for a volume. Use it before proposing a trade. Example: {"account_id": "", "instrument": "XAUUSD", "volume": "0.10", "side": "buy"}
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_symbol_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | buy (default) or sell, for the margin. | |
| symbol | No | The symbol exactly as this broker names it, e.g. "EURUSD" — some brokers add a suffix such as "EURUSD.r". | |
| volume | No | Optional: the size to price the margin for. In lots, preferably as a string: "0.01" is a micro lot, "1.00" a standard lot. | |
| account_id | Yes | The fxapis account id (a UUID) from list_accounts — not the MT5 login number. | |
| instrument | No | Instead of symbol: an instrument from list_instruments, e.g. XAUUSD. | |
| response_format | No | concise (default): what a next step needs. detailed: every field the API returns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | ||
| margin | Yes | ||
| market | Yes | ||
| symbol | Yes | ||
| unavailable | Yes | ||
| specification | Yes |