Trip check: destination advice, fares and airport delays
check_tripReturns, for the inputs that are present: destination advice for a country (US State Department, UK FCDO and Canada, side by side), active disaster alerts, weather for the city being visited (pass city; defaults to the capital), CDC travel health notices, public holidays between two dates, and an exchange rate; the cheapest round-trip or one-way fares recently found for a route (dates, airline, stops, booking links), which are cached finds and not live quotes; a per-leg total for up to four planned legs, in USD and a local currency; and FAA delay reports for US airport codes (ground stops, delay programs, arrival and departure delays, closures). Booking links may be paid links. Divux does not book flights. Applies to questions about travel to a country, flight prices on a route, or current delays at US airports. Results report what the official sources say and are not a safety assessment of a destination.
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": "check_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | For fares: destination city, airport code, or metro, e.g. 'Lisbon' or 'Tokyo'; defaults to city, then the country's capital | |
| city | No | City being visited, for weather, e.g. 'Kyoto' or 'Lisbon'. | |
| from | No | For fares: departure city, airport code, or metro, e.g. 'New York', 'JFK', or 'Bay Area' | |
| legs | No | Up to four flight legs. The result is cached cheapest fares per leg, by day, and a trip total. | |
| depart | No | For fares: departure month YYYY-MM or date YYYY-MM-DD; defaults to start_date | |
| return | No | For fares: return month or date; defaults to end_date; leave both out for one-way | |
| country | No | Destination country in English or two-letter code, e.g. 'Japan' or 'JP' | |
| one_way | No | For fares: true for one-way; defaults to one-way when there's no return | |
| airports | No | US airport codes for the FAA's delays right now, e.g. ['SFO', 'JFK']; an empty list for every US airport with a delay | |
| end_date | No | Trip end, YYYY-MM-DD | |
| start_date | No | Trip start, YYYY-MM-DD | |
| direct_only | No | For fares: true for nonstop flights only | |
| home_currency | No | Traveler's currency, e.g. 'USD' | |
| local_currency | No | Destination currency, e.g. 'JPY' |