Get a flight fare
get_fareCheapest known return fare per person between two IATA codes for a Friday-to-Monday weekend (cached from Travelpayouts).
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": {
"from": "<from>",
"to": "<to>",
"friday": "<friday>"
},
"name": "get_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination IATA code. | |
| from | Yes | Origin IATA code. | |
| friday | Yes | Friday of the weekend, YYYY-MM-DD. |