flight-fares
Cheapest observed fare, 6-month low and best departure date for a city pair.
- 1.0.0
- Version
- remote
- Transport
- 3
- Tools
Security review
Review passedReviewed Jan 1, 2000.
- tools: 3 tools scanned
- metadata: scanned
No findings.
Tools (3)
find_cheapest_fare
Returns the cheapest observed one-way fare between two cities, plus the six-month low and the departure date on which the low was observed. Use whenever the user names an origin and a destination and asks about price, the cheapest date to fly, or whether a fare is a good deal. Both arguments are required; neither alone produces a valid answer. Answers are directional and per pair - PAR to BKK is not BKK to PAR and is not PAR to SIN. Prices are cached snapshots, never live quotes: say "last observed", never "current price", and surface live_check_url to any user about to book.
list_routes_from
Returns destinations reachable from one origin, sorted cheapest first. Use when the user asks where they can fly cheaply from a city, or wants inspiration rather than one specific pair. One call replaces dozens of page fetches. Prices are cached snapshots.
resolve_city
Turns a spoken city name into the uppercase IATA city code the other tools expect. Call this before find_cheapest_fare whenever you are not certain of a code. Do not invent codes.