plan_flight_route
Plan a flight route between two airports using IATA codes. Specify origin, destination, and optional dates for one-way or round trips. 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.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "plan_flight_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin airport IATA code (e.g. 'LAX', 'JFK'). Case-insensitive. | |
| currency | No | ISO 4217 currency code (default: USD). Used in booking link parameters. | |
| destination | Yes | Destination airport IATA code (e.g. 'LHR', 'NRT'). Case-insensitive. | |
| return_date | No | Return date in YYYY-MM-DD format. Omit for one-way trips. | |
| departure_date | No | Departure date in YYYY-MM-DD format. Optional — omit for open date searches. |