plan_flight_route
Plan a flight route between two airports. Specify origin, destination, dates, and currency to receive route metadata and booking links.
Instructions
Plan one flight route between two airports. Use when a traveler wants a clear starting point for a specific origin and destination; use compare_airport_routes for multiple route choices, create_booking_link only when route details are already known, and get_airport_details only to validate one airport. Read-only, no account setup, no booking side effects. return_date is optional; omit it for one-way trips. Responses include route metadata and may include commission-eligible external booking links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin airport IATA code (e.g. 'LAX', 'JFK'). Case-insensitive. | |
| destination | Yes | Destination airport IATA code (e.g. 'LHR', 'NRT'). Case-insensitive. | |
| departure_date | No | Departure date in YYYY-MM-DD format. Optional — omit for open date searches. | |
| return_date | No | Return date in YYYY-MM-DD format. Omit for one-way trips. | |
| currency | No | ISO 4217 currency code (default: USD). Used in booking link parameters. |