get_google_flights_url
Generate a prefilled Google Flights search URL from origin, destination, dates, and filters without fetching results. Use it to share or open a flight search with specified criteria.
Instructions
Build a Google Flights search link without fetching results.
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": "get_google_flights_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | Cabin class. | economy |
| adults | No | Adults (12+). | |
| origin | Yes | 3-letter IATA airport or city code, e.g. 'JFK', 'LON'. | |
| children | No | Children (2-11). | |
| currency | No | ISO 4217 currency code, e.g. 'USD', 'EUR', 'ILS'. | USD |
| max_stops | No | 0 = nonstop only, 1 = up to one stop, etc. | |
| destination | Yes | 3-letter IATA airport or city code, e.g. 'JFK', 'LON'. | |
| return_date | No | YYYY-MM-DD for a round trip. | |
| departure_date | Yes | Date as YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |