get_flight_points
Collect award (miles/points) pricing for a flight search that reported pending_sources. Call this after search_flights when you set points: true and the response came back with pending_sources — those are the loyalty programs still being scraped. Returns per-program results: cash itineraries paired with their award price and cents-per-point, plus award-only itineraries the cash search did not surface. A program reporting "timeout" has no answer yet and can be asked again; "no_results" means that program genuinely has no award availability on this route.
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": {
"search_id": "<search_id>",
"departure_date": "<departure_date>"
},
"name": "get_flight_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Use supplier test credentials. Available only to approved self-accounts; listed accounts default to test mode. | |
| search_id | Yes | The search_id returned by the search_flights call. | |
| departure_date | Yes | The departure date of that search, YYYY-MM-DD. The same value you passed to search_flights. | |
| pending_sources | No | The pending_sources from that search_flights response, passed back unchanged. Without it every supported program is polled, including ones that were never searched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |