Ourairports Lookup
ourairports_lookupLook up ANY airfield in the OurAirports bulk dataset (~86,000 rows: every ICAO/IATA/local-code airport, heliport, seaplane base and balloonport OurAirports tracks, including fields with no IATA code at all). Pass ANY of: an ICAO code ("KJFK", "EGLL"), an IATA code ("JFK"), a GPS code, or OurAirports' own local/national ident (e.g. a US local code like "00A", or a non-US ident like "AT-0001"). Returns name, type (large_airport/medium_airport/small_airport/heliport/seaplane_base/balloonport/closed), coordinates, elevation, country/region, and whether it has scheduled airline service. This is the superset of get_airport's AirportGap data -- use this for any code AirportGap does not recognize, or for a heliport/seaplane base/ICAO-only field get_airport cannot see at all. An unrecognized code is refused with a clear error, never an empty success.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "KJFK"
},
"name": "ourairports_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ICAO code ("KJFK"), IATA code ("JFK"), GPS code, or OurAirports local ident (e.g. "00A"). |