Train Connections
train_connectionsLists direct MÁV trains between two stations for a chosen day, with optional departure-time filtering. Use it for timetable-style 'which trains go from A to B' queries.
Instructions
All direct MÁV trains between two stations for a whole day, like a timetable. Use this for 'which trains go from A to B tomorrow'; use plan_trip for door-to-door routes with transfers.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "train_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day, ISO format '2026-11-09'. Default: today | |
| origin | Yes | Railway station or city, e.g. 'Miskolc', 'Debrecen', 'Budapest' (= Keleti, Nyugati, Déli, Kelenföld) | |
| from_time | No | Only trains leaving at or after this time, 'HH:MM' | |
| destination | Yes | Railway station or city | |
| include_detours | No | Also list direct trains taking more than 1.5x the fastest (long way round) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||