get_flight_url
Generate a direct Google Flights URL by specifying origin, destination, and departure date, optionally with return, stops, cabin class, and adults, to view and book flights.
Instructions
Generate a direct Google Flights URL for a route. Users can click to view and book flights in their browser.
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>",
"departureDate": "<departureDate>"
},
"name": "get_flight_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stops | No | Max stops (0=nonstop) | |
| adults | No | ||
| origin | Yes | Departure airport IATA code | |
| cabinClass | No | economy | |
| returnDate | No | Return date (YYYY-MM-DD) for round-trip | |
| destination | Yes | Arrival airport IATA code | |
| departureDate | Yes | Departure date (YYYY-MM-DD) |