Search Google Flights
search_flightsSearch Google Flights for a route and obtain structured flight details—airline, timings, stops, and price—to support policy-based recommendations.
Instructions
Searches Google Flights for a route and returns structured flight options (airline, times, stops, price). Does not check policy or book anything.
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>",
"departDate": "<departDate>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | economy | |
| adults | No | ||
| origin | Yes | Origin city or airport, e.g. 'New York' or 'JFK' | |
| departDate | Yes | Departure date, YYYY-MM-DD | |
| returnDate | No | Return date, YYYY-MM-DD. Omit for one-way | |
| destination | Yes | Destination city or airport, e.g. 'Los Angeles' or 'LAX' |