Score a flight deal
score_flight_dealRate a flight price from 0 to 100 against the typical fare for that route and cabin. Use when someone asks if a fare is a good deal.
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>",
"price": "<price>"
},
"name": "score_flight_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination airport IATA code, e.g. LHR | |
| from | Yes | Origin airport IATA code, e.g. JFK | |
| cabin | No | Cabin class. Defaults to economy. | |
| price | Yes | Round-trip price in USD |