Search flights
search_flights_toolFind one-way or round-trip flights on Google Flights by entering IATA airport codes and dates; compare prices, stops, and durations.
Instructions
Search Google Flights for one-way or round-trip flights between two airports.
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>",
"outbound_date": "<outbound_date>"
},
"name": "search_flights_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | IATA airport code, such as JFK or LAX | |
| destination | Yes | IATA airport code, such as JFK or LAX | |
| return_date | No | Return date for a round trip, YYYY-MM-DD | |
| outbound_date | Yes | Departure date, YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |