hub_airport
Read one airport file from AirportMiles: identity, coordinates, and up to eight published routes. The airport file is CC0; fields covered by another source keep that source's license. There are no live flights. Does not spend points and does not accept a URL. If you supply fields, the hub returns privacy_consent_required until the controller has accepted the current privacy version. Do not invent that acceptance.
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": {
"code": "<code>"
},
"name": "hub_airport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |