plan_flight
Calculate a flight route between two airports with performance estimates, including waypoints and distances.
Instructions
Plan a flight route between two airports with performance estimates.
Args: departure: Dict with departure info (city, country, iata) arrival: Dict with arrival info (city, country, iata) aircraft: Optional aircraft config (ac_type, cruise_alt_ft, route_step_km) route_options: Optional route options
Returns: JSON string with flight plan details including departure/arrival airports, route waypoints, distances, and optional performance estimates.
Raises: No exceptions are raised directly; errors are returned as formatted strings. Internally catches AirportResolutionError and OpenAPError.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| departure | Yes | ||
| arrival | Yes | ||
| aircraft | No | ||
| route_options | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |