Direct trains between two cities
find_direct_trainsThe direct trains from one city to a city in another country (in North America, also to another state), with no change: departure and arrival times (local), how long it takes, the night trains, the stations, the days each train runs, the operator's own site to book, and, where pickthetrain has both, how long the trip takes door to door by train and by plane. Give a date (YYYY-MM-DD) for the trains that run that day. It covers the railways that publish official open timetables, for the next eight weeks where they have published that far, and a few routes checked by hand; there are no fares. Only trains that cross a border: for a train inside one country, or a journey with a change, it says so. Read-only.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "find_direct_trains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | where the train goes, in another country: a city's name in any language or spelling, e.g. 'Zurich', 'München', 'Praha'; add the country after a comma when two cities share a name, e.g. 'Baden, Switzerland' | |
| date | No | the travel day as YYYY-MM-DD, e.g. '2026-11-20'; leave out for the route's trains with the days each runs | |
| from | Yes | where the train leaves from: a city's name in any language or spelling, e.g. 'Zurich', 'München', 'Praha'; add the country after a comma when two cities share a name, e.g. 'Baden, Switzerland' |