Find airports
find_airportsLook up airports and city codes by name, or list the airports near an airport code. Use it to turn a city name into the IATA code a flight search with the other tools takes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | an IATA airport code, to list the airports near it; give this or query | |
| query | No | a city or airport name or the start of one; give this or near |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| places | Yes |