get_travel_advice
Plan train journeys between stations with route options, transfers, real-time updates, platform details, and journey duration. Optimize for departure or arrival times.
Instructions
Get detailed travel routes between two train stations, including transfers, real-time updates, platform information, and journey duration. Can plan trips for immediate departure or for a specific future time, with options to optimize for arrival time. Returns multiple route options with status and crowding information.
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": {
"fromStation": "<fromStation>",
"toStation": "<toStation>"
},
"name": "get_travel_advice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromStation | Yes | Name or code of departure station | |
| toStation | Yes | Name or code of destination station | |
| dateTime | No | Format - date-time (as date-time in RFC3339). Datetime that the user want to depart from his origin or or arrive at his destination | |
| searchForArrival | No | If true, dateTime is treated as desired arrival time |