Explain how deals are picked
explain_deal_scoreHow Cheap Flights Alert decides a fare is a deal: the usual route price it is compared with, the minimum discount, and how often alerts are sent. With an origin and destination airport, also shows today's tracked fare on that route, its usual price and discount.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "explain_deal_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originIata | No | Optional departure airport IATA code of one deal to explain, for example BUD. | |
| destinationIata | No | Optional destination airport IATA code of that deal, for example MIL. Needs originIata. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal | Yes | ||
| rules | Yes | ||
| dealNotFound | No | ||
| minDiscountPercent | Yes |