Look up airports
lookup_airportsFind airports by city name or IATA code, returning the matching airport or every airport in a metro area, with an optional row limit.
Instructions
Offline. query is a city name or an IATA code (JFK, LHR, NRT, GRU, SIN). A three-letter code returns that airport, or every airport in a metro code. limit caps the rows (default 20). The result is a list, not the search envelope. It may run while a search is in progress.
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": {
"query": "<query>"
},
"name": "lookup_airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |