Check a hidden-city ticket
check_hidden_city_ticketAssess the risk of hidden-city ticketing: buying a ticket to a farther airport and getting off at the layover. Returns the saving, a verdict, deal-breakers, risks and the airline's policy.
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": {
"from": "<from>",
"to": "<to>",
"beyond": "<beyond>",
"direct": "<direct>",
"throwaway": "<throwaway>"
},
"name": "check_hidden_city_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Hub airport where you would actually get off, e.g. LHR | |
| bag | No | True if you would check a bag | |
| from | Yes | Origin airport IATA code, e.g. JFK | |
| beyond | Yes | Final airport on the cheaper ticket, e.g. DUB, EDI, MAN, BRU, AMS for LHR | |
| direct | Yes | Price of the normal ticket to your real destination, USD | |
| airline | No | Airline code. Defaults to IZ (other). | |
| loyalty | No | True if a frequent flyer number is on the booking | |
| throwaway | Yes | Price of the cheaper ticket to the airport beyond, USD | |
| round_trip | No | True if the ticket is a return |