select_terminal
Switch the active MetaTrader terminal data folder for the current session. Provide an origin path, 32-character hash, or install directory to direct all subsequent tool calls to the selected layout.
Instructions
Switch the active terminal data folder for this session.
Provide one of: origin (install path stored in origin.txt), hash (32-char
folder name), or install (auto-scan for the matching origin).
Subsequent tool calls will use the new layout until the server restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | 32-character terminal data folder name under %APPDATA%\\MetaQuotes\\Terminal. | |
| origin | No | Install path stored in the terminal's origin.txt, e.g. C:\\Program Files\\MetaTrader 5. | |
| edition | No | "mt5" or "mt4". | mt5 |
| install | No | Install folder containing terminal64.exe; its data folder is found by scanning origin.txt files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||