mt4_verify
Poll an MT4 terminal until it is healthy (service active and broker connected) or times out, distinguishing real failures from normal startup delays.
Instructions
Poll a terminal until it is healthy (service active + broker connected) or times out.
Use after any restart to wait out the broker reconnect instead of guessing: instead of one snapshot it polls and reports the terminal's state at timeout, so a real failure is distinguishable from normal startup timing. Read-only.
Args: terminal: terminal id. timeout: seconds to poll before reporting (default ~120).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |