Train Booking Link
train_booking_linkReturn an Omio train-search handoff for Madrid-Barcelona or Tokyo-Kyoto in either direction. Select dates and passenger details on Omio; the card preserves the requested date for reference. No live fares, availability, or tickets are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Optional locale, such as en. | |
| origin | Yes | Departure city or station. | |
| trip_id | No | Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user. | |
| currency | No | Optional ISO-style three-letter display currency, such as EUR. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then EUR. | |
| passengers | No | Optional passenger count. Defaults to 1. | |
| returnDate | No | Optional return date in YYYY-MM-DD format. | |
| destination | Yes | Arrival city or station. | |
| departureDate | Yes | Local departure date in YYYY-MM-DD format. |