Get Route Detail
get_route_detailFetch a route’s sections (trains/buses, lines, platforms, transfers) and seat-class prices using route and station IDs. Use it to review connection details before booking.
Instructions
Get a route's sections (trains/buses, lines, platforms, transfers) and price per seat class.
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": {
"route_id": "<route_id>",
"from_station_id": "<from_station_id>",
"to_station_id": "<to_station_id>"
},
"name": "get_route_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| tariffs | No | Passenger tariff per traveller, e.g. ['REGULAR', 'REGULAR', 'CHILD_UNDER_12']. See list_tariffs. | |
| currency | No | Price currency; defaults to server setting. | |
| route_id | Yes | Route id from search_routes. | |
| to_station_id | Yes | arrival_station_id from search_routes (station, not city). | |
| from_station_id | Yes | departure_station_id from search_routes (station, not city). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||