List deals
list_dealsAn account's deal history as the broker recorded it, newest first, including stops that fired, swaps and manual trades. Realised profit is here. Example: {"account_id": "", "since": "2026-10-01T00:00:00Z"}
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": "list_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page, 1–200. Default 25. | |
| since | No | ISO 8601 date-time; only rows at or after it. | |
| until | No | ISO 8601 date-time; only rows at or before it. | |
| cursor | No | `nextCursor` from the previous page. | |
| symbol | No | The symbol exactly as this broker names it, e.g. "EURUSD" — some brokers add a suffix such as "EURUSD.r". | |
| 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 |
|---|---|---|---|
| hint | No | ||
| items | Yes | ||
| total | Yes | ||
| truncated | No | ||
| next_cursor | Yes | Pass as cursor for the next page; null on the last. |