Irail Journey
irail_journeyPlan a train journey between two Belgian stations, SNCB NMBS route planner with legs, transfers, live delays, and platforms per leg. Answers "next train from Brussels to Antwerp", "how do I get from Ghent to Liège by rail". Optional depart_at or arrive_by as ISO datetime ("2026-07-20T09:00") or time ("09:00"), interpreted in Belgian local time. Example: irail_journey({ from: "Brussels-South", to: "Antwerp-Central" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "Antwerp-Central",
"from": "Brussels-South"
},
"name": "irail_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination station, e.g. "Antwerp-Central" | |
| from | Yes | Origin station, e.g. "Brussels-South" | |
| limit | No | Max connections to return, 1-6 (default 4) | |
| arrive_by | No | Arrive by this time instead, same formats as depart_at. Overrides depart_at | |
| depart_at | No | Depart at/after this time, "YYYY-MM-DDTHH:MM" or "HH:MM" (today), Belgian local time. Default: now |