Get Facility Info
msfs_get_facility_infoLook up an airport, waypoint, NDB, or VOR by ICAO identifier. Returns facility details from the simulator's loaded data, with airports available worldwide.
Instructions
Look up one airport, waypoint, NDB or VOR by ICAO identifier.
Only facilities the sim currently has loaded are visible. Airports are the exception: SimConnect's airport facility list is the complete worldwide set (measured live -- see module docstring), not scoped to the aircraft's location, so an airport miss means the identifier is wrong rather than out of range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icao | Yes | ICAO identifier, e.g. 'KJFK', 'EGLL', 'SEA' | |
| facility_type | No | Kind of facility to look up: one of 'airport', 'waypoint', 'ndb', or 'vor' | airport |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |