Check a fare
check_fareUse when a traveller has a flight price and asks whether it is good, cheap, a deal or worth booking, or asks what a route usually costs in Business, First, Premium Economy or Economy. Judges the price against the route's own history: the usual fare (median of up to 52 weekly medians of Google Flights prices), the good-fare bar (30% below usual), how far the price is above or below usual, the cheapest fare seen in the last 7 days, and a link to the route page.
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>",
"price": "<price>"
},
"name": "check_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | No | Round trip or one way. | round_trip |
| cabin | No | Cabin class. | business |
| price | Yes | The fare to judge, for one adult, all taxes included. | |
| origin | Yes | Where the trip starts: an IATA airport code (SYD, LHR) or a city name (Sydney, London). | |
| currency | No | The price's currency. | AUD |
| destination | Yes | Where it goes: an IATA airport code (SYD, LHR) or a city name (Sydney, London). |