List orders
list_ordersOrders placed through fxapis, newest first, for one account or all; state unknown means still being confirmed, so never resend those. Pages with cursor. Example: {"state": "unknown"}
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": "list_orders"
}
}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. | |
| state | No | Only orders in this state. | |
| 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 | No | 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. |