Search flights on Google Flights
google_flights_searchSearch public one-way flight offers on Google Flights between two airports on one date. For a round trip, search each direction separately. Returns per flight: price, airlines, flight numbers, departure and arrival times, duration and stops. It does not book or buy anything. Reads public data only.
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": "google_flights_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adult passengers, 1 to 9. Default: 1. | |
| origin | Yes | Departure airport IATA code, e.g. "BER". | |
| sort_by | No | Sort order. Default: top_flights. | |
| currency | No | Currency code for prices, e.g. "EUR" or "USD". Default: USD. | |
| max_stops | No | Maximum number of stops. Default: any. | |
| cabin_class | No | Cabin class. Default: economy. | |
| destination | Yes | Arrival airport IATA code, e.g. "LIS". | |
| departure_date | Yes | Departure date as YYYY-MM-DD. |