Flight prices
flight_pricesUse only when the user asks about flight prices or fares; for 'how do I get from A to B' use how_to_get instead, even if a date is given. Flight fares Routavio recorded between two cities in the last 14 days: price per person in EUR, airline, local departure and arrival time, flight duration, direct or with stops, and the day each fare was checked. Takes an optional departure date, return date (round trip), month and direct-only filter. Every city airport is included; the airport codes returned are the cities' airports, not the airport of a given fare, which is not recorded. Baggage allowance is not recorded. These are observed fares, not a live quote; each card links to a Routavio search for that day.
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": "flight_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | City name in any language, e.g. London | |
| date | No | Departure day, YYYY-MM-DD | |
| from | Yes | City name in any language, e.g. Istanbul | |
| month | No | Departure month, YYYY-MM, when no exact day is given | |
| adults | No | Travellers, carried into the Routavio search link | |
| locale | No | Language of the user's question as a two-letter code (en, tr, de, fr, es, it, nl, pl, pt, ru, ar). The answer and the links use it. | |
| directOnly | No | Only fares with no stop | |
| returnDate | No | Return day for a round trip, YYYY-MM-DD, after date |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| dir | No | ||
| days | No | ||
| from | No | ||
| note | No | ||
| cards | No | ||
| fares | No | ||
| found | Yes | ||
| locale | No | ||
| source | No | ||
| baggage | No | Routavio does not record baggage allowances | |
| inbound | No | One-way return flights, shown when no round-trip fare is recorded | |
| pageUrl | No | ||
| toLabel | No | ||
| airports | No | ||
| tripType | No | oneWay | roundTrip | |
| fromLabel | No | ||
| requested | No | ||
| searchUrl | No | ||
| exactDateFound | No |