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).
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": {
"terminal": "<terminal>"
},
"name": "mt4_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |