search_trains
Find Ouigo train fares for a specific route and date, sorted cheapest first, plus booking links and Iryo schedules for that day. Use it to compare prices before booking.
Instructions
Ouigo trains and prices for one day (YYYY-MM-DD), cheapest first. Slow (~5-10 s).
The result has shop (Ouigo booking page) and iryo (Iryo page, no prices) for this day: give both.
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>",
"date": "<date>"
},
"name": "search_trains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| origin | Yes | ||
| destination | Yes |