Compare and rank flight connections
compare_connectionsCompare and rank multiple one-stop itineraries from safest to riskiest connection using transfer quality, ticket protection, confidence, and remaining margin.
Instructions
Assess several one-stop itineraries (for example the results of a flight search) and rank them from safest to riskiest connection: by transfer quality, then ticket protection (one ticket before unknown before self-transfer), then confidence, then remaining margin. Each option takes times or layover_minutes, like check_connection. Use the optional id to map results back to your own options (e.g. an offer id or price).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | Two to twenty itineraries to compare |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranked | Yes | ||
| disclaimer | Yes |