Buscar vuelos
search_flightsSearch flights on WizTrip (the same search as wiz-trip.com/vuelos): one way or round trip, with adults, children and infants. origin and destination take an IATA code (city or airport: BUE, MVD, MIA) or a city name. Returns WizTrip's recommended flight, the cheapest and the shortest, plus more options, with selling prices in USD for the whole party, baggage, stops and schedule. The card shows them with a «Reservar ahora» button that opens the wiz-trip.com checkout of that flight. For a multi-city trip, or flight plus hotels, use trip_chat.
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": {
"origin": "<origin>",
"destination": "<destination>",
"departure_date": "<departure_date>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | ||
| origin | Yes | IATA code or city name. | |
| infants | No | Under 2. | |
| children | No | 2 to 11 years old. | |
| cabin_class | No | ||
| destination | Yes | IATA code or city name. | |
| return_date | No | YYYY-MM-DD, from today (2026-11-19) on. Omit for one way. | |
| departure_date | Yes | YYYY-MM-DD, from today (2026-11-19) on. |