ping
Verifies MT5 terminal reachability and measures latency. Use after idle periods or errors indicating disconnection.
Instructions
Health check - verifies the MT5 terminal is reachable.
Returns {"ok": bool, "latency_ms": int, "via": str | None}.
via names the layer that answered (terminal_info,
account_info, or tick_probe) and is omitted when ok
is false. Cheap; agents should call this after idle periods or
errors that smell like disconnection.
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": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||