trip_check
Booking-a-trip pack for travel AI agents: send a destination country (and optionally the flight's airports) and get, in one call, official UK FCDO travel advice (areas advised against), entry requirements (passport validity, visas), today's ECB exchange rate from pounds, and the passenger's UK261/EU261 compensation if the flight is delayed 3+ hours or cancelled late, with a plain-English summary, as JSON. Official sources. Errors never charged. Use this when the user is booking or planning a trip abroad and wants the essentials in one go: FCDO safety advice, passport and visa rules, the exchange rate, and what they're owed if the flight is delayed or cancelled. Not for: a claim for a flight that already went wrong (use flight_delay_compensation with the real delay and cause); full advice text (use travel_advice). Price: $0.05 USDC per call (x402).
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": {
"country": "<country>"
},
"name": "trip_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Arrival airport (IATA code or city), e.g. ALC. Example: ALC | |
| base | No | Home currency for the rate (default GBP). Example: GBP | |
| from | No | Departure airport (IATA code or city), e.g. LPL. Example: LPL | |
| country | Yes | Destination country, e.g. Spain. Example: Spain |