Flights between two airports
route_flightsFlights between two airports: the next scheduled departures (up to 10, the next 30 days) and the most recent ones with their status. Accepts IATA/ICAO codes, airport names or cities; a city with several airports resolves to its main one (the answer names it), so other airports of that city need their own call with their codes, e.g. "LGW" or "STN" for London. Data from Airportia.com.
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": "route_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival airport or city, e.g. "LHR", "London Heathrow". | |
| from | Yes | Departure airport or city, e.g. "ATH", "Athens". |