How to book a flight with points
how_to_book_with_pointsReturns how to book a specific flight with points or miles, from AwardSecrets' award-chart and transfer-partner data: the loyalty programmes that can book the flight, the miles each charges one way, the best way to book it (fewest points once taxes and surcharges are counted), how credit card, hotel or airline points transfer to each programme (ratio, transfer time, points needed, any active transfer bonus and its end date), estimated taxes and surcharges, and the airline or programme sites where award seats can be checked.
Input: either question (the traveller's own words, e.g. 'ANA business class Chicago to Tokyo with Amex points') or structured fields: airline (2-letter IATA code of the airline to fly), origin and destination (3-letter airport codes), cabin, and optionally points_held (e.g. AMEX_MR, CHASE_UR, CITI_TY, CAPITAL_ONE, BILT, or a programme code such as AVIOS), date (YYYY-MM-DD) and passengers.
Output: answer is ready-to-display markdown; options holds the same facts as data. The prices are award-chart prices, not a live seat search: availability_checked is always false. Each option's price_state is fixed_chart, published_starting_price, off_peak or seasonal. answer_status is cabin_not_priced when the requested cabin is not priced (premium economy), in which case economy prices are returned; needs_clarification or off_topic when the question can't be answered as asked. listed_not_ranked names programmes that book the flight but price it by date.
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": "how_to_book_with_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Departure date, YYYY-MM-DD (picks the season on seasonal charts). | |
| cabin | No | Cabin. Defaults to business. | business |
| origin | No | Departure airport (e.g. ORD). | |
| airline | No | The airline to fly, one 2-letter IATA code (e.g. NH, BA, QF). | |
| question | No | The traveller's question in words. Use this OR the fields below. | |
| passengers | No | ||
| destination | No | Arrival airport (e.g. HND). | |
| points_held | No | Points the traveller has: AMEX_MR, CHASE_UR, CITI_TY, CAPITAL_ONE, BILT, MAX_MILES, ROVE_MILES, HSBC_SG, HSBC_MY, HSBC_VN, BCA_REWARD, BCA_WORLD, BCA_AMEX, BCA_UNIONPAY, CITI_SG_TY, CITI_SG_MILES, DBS, UOB_UNI, AMEX_SG, SC_VI, SC_360, OCBC_90N, OCBC_VOYAGE, OCBC_DOLLARS, SBI_MILES, HSBC_IN, HSBC_IN_PLAT, AXIS_BURGUNDY, AXIS_MAGNUS_BURGUNDY, AXIS_MAGNUS, AXIS_SELECT, AXIS_OTHER, AXIS_OLYMPUS, AXIS_ATLAS, AXIS_HORIZON, AXIS_IOCL, HDFC_INFINIA, HDFC_DINERS_BLACK, HDFC_REGALIA_GOLD, HDFC_BIZ_BLACK, HDFC_REGALIA, AMEX_IN, ICICI_EMERALDE, ICICI, AMEX_CA, AMEX_UK, RBC_AVION, HSBC_HK_EVERYMILE, HSBC_HK_PREMIER, HSBC_HK, AMEX_AU, ANZ_REWARDS, NAB_REWARDS, WESTPAC_ALTITUDE, AMPLIFY, MAYBANK_PREMIER, MAYBANK_SIGNATURE, MAYBANK, MAYBANK_AMEX_PLATINUM, MAYBANK_AMEX_PLAT_CHARGE, MAYBANK_AMEX, CIMB, KTC, RHB, SC_MY, SC_MY_WORLDMILES, SC_TW, UOB_MY_METAL, UOB_MY_ZENITH, UOB_MY_PRIVILEGE, UOB_MY_VI, UOB_MY, UOB_TH_RESERVE, UOB_TH_INFINITE, UOB_TH_ZENITH, UOB_TH_PRVI, UOB_TH, UOB_ID_ZENITH, UOB_ID_PRVI, UOB_ID, UOB_VN, VIB_TRAVEL_ELITE, PANIN, PANIN_GOLD, PERMATA_BLACK, PERMATA, AMEX_HK, CITI_HK, CITI_HK_REWARDS, SC_HK, DBS_HK_BLACK, DBS_HK_BLACK_AMEX, DBS_HK, DBS_HK_COMPASS, or programme codes (AVIOS, AEROPLAN, FLYING_BLUE...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free | No | true when answered without a key (free tier). | |
| result | Yes | ||
| status | Yes | ||
| charged | No | false for free answers and for any answer_status other than ok. | |
| quota_remaining | No |