Search onward flights
search_flightsFind one-way flights to use as an onward ticket. Returns up to 10 flights, each with an id to buy and its price in USD.
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>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Departure date, YYYY-MM-DD, within 9 months. Defaults to 14 days from now. | |
| origin | Yes | IATA code of the airport leaving the country the traveller is entering, e.g. "BKK" | |
| destination | Yes | IATA code of where the onward flight goes, e.g. "SIN" |