Match a trip to lounges
match_itineraryGiven a trip (free text in any language, or structured stops), checks every lounge at each departure and connection against security area, terminal (including which terminals connect after security) and children, ranks the rest by the traveller's wishes and price (a lounge closed at the given time goes last, flagged), and returns the pass needed per leg with a total. A missing fact that would change the pass comes back as a question ("questions", "changes_the_pass": true) and that leg as "needs_answer" with what each answer gives, never as an assumption; ask the traveller, then call again with the answer in "trip" (e.g. the stop's "terminal"). Read-only: it does not reserve or buy anything.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "match_itinerary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The trip as the traveller said it, e.g. "Shenzhen to Tokyo via Singapore, 4h layover, 2 adults, want a shower" | |
| trip | No | Structured alternative to text. Stops in travel order. | |
| currency | No | USD |