Arrivals/departures by airport (OpenSky)
flights_by_airportRetrieve flights arriving at or departing from an airport by ICAO code within a specified time window. Supports arrival and departure directions.
Instructions
Flights arriving at or departing from an airport (ICAO code) within a time window (<= 7 days). Unix epoch seconds.
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": {
"airport": "<airport>",
"begin": "<begin>",
"end": "<end>"
},
"name": "flights_by_airport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time, Unix epoch seconds | |
| begin | Yes | Start time, Unix epoch seconds | |
| airport | Yes | Airport ICAO code, e.g. KJFK, EGLL | |
| direction | No | departure |