Search flights
clevrgo_flight_searchSearch one-way or round-trip flights. Resolve both ends with flight_regions first and copy its fields as returned -- code, is_city, city_code and country_code -- never guess them. Prices come back in US dollars.
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": {
"fromCode": "<fromCode>",
"toCode": "<toCode>",
"fromCountryCode": "<fromCountryCode>",
"toCountryCode": "<toCountryCode>",
"departDate": "<departDate>",
"adults": "<adults>"
},
"name": "clevrgo_flight_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | Yes | ||
| toCode | Yes | ||
| infants | No | ||
| nonstop | No | ||
| children | No | ||
| fromCode | Yes | ||
| toIsCity | No | ||
| cabinClass | No | economy, premium_economy, business or first. | |
| departDate | Yes | Date as YYYY-MM-DD. | |
| fromIsCity | No | ||
| returnDate | No | Date as YYYY-MM-DD. | |
| toCityCode | No | city_code of the destination from flight_regions, when it has one. | |
| fromCityCode | No | city_code of the origin from flight_regions, when it has one. | |
| toCountryCode | Yes | Two-letter country_code of the destination, from flight_regions. For a city, take it from its airports. | |
| fromCountryCode | Yes | Two-letter country_code of the origin, from flight_regions. For a city, take it from its airports. |