tool_rank_trip_options
Rank trip options by a comprehensive value score based on price, stops, duration, refundability, baggage, and hassle. Pass option details and priority for personalized ranking.
Instructions
Rank flight/trip options on a 0-100 value score — price plus stops, duration, refundability, baggage and hassle — not price alone.
Pass a JSON array of option objects with any of: price, duration_minutes, stops, refundable, checked_bag_included, self_transfer, hidden_city, split_ticket, visa_required, transit_visa_required, label.
Args: options_json: JSON array of option objects priority: cheapest/fastest/easiest/flexible/balanced currency: Display currency
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options_json | Yes | ||
| priority | No | balanced | |
| currency | No | USD |