connect_mt5_accountwriteOwner-scopedConnect an MT5 account to the user's journal so its trades sync. Credentials are only used to start the sync and are never returned.
| Param | Type | Req. | Description |
|---|---|---|---|
| login | integer | yes | MT5 account login number. |
| server | string | yes | MT5 broker server name. |
| password | string | yes | MT5 account password. |
| password_kind | "investor" | "master" | no | Default investor. |
| name | string | no | Optional display name. |
Example prompts
- “Connect my MT5 account: login 5012345, server ICMarkets-Demo, investor password ••••••.”
- “Add my broker account to the journal and call it 'Demo'.”
Example call
{ "name": "connect_mt5_account", "arguments": { "login": 5012345, "server": "ICMarkets-Demo", "password": "••••••" } }