Air New Zealand Airpoints and Status Points Calculator
calculate_air_new_zealand_airpointsAir New Zealand Koru Airpoints and Status Points for Air New Zealand flights: a fixed number per flight from Air New Zealand's own earn tables, by the directed airport pair (route group), booking class (cls) and, for Economy on domestic, Tasman and Pacific Islands flights, the fare (Seat, Seat+Bag, Flexi Change, Flexi Refund, The Works, Works Flexi). Airpoints can be decimals (for example 10.8). Classes N, I, R and X earn nothing; F earns Status Points only; a pair Air New Zealand does not list is not counted. Partner-airline flights are not calculated. The tier does not change the earning. Progress toward Silver (450), Gold (900), Platinum (1,500) and Black (3,200) Status Points in 12 months; sp is the Status Points so far. Give segs: one entry per one-way flight, in order, with from and to, the IATA codes of its two airports (required; distance and countries do not matter). Takes no price. Uses cwsi.net's calculator and the airline's published rules. Unofficial.
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": "calculate_air_new_zealand_airpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sp | No | Status Points you have in the last 12 months (optional). Used only for the progress toward Silver, Gold, Platinum and Black. | |
| cls | No | Booking class. C = C (Business); D = D (Business); Z = Z (Business); J = J (Business); U = U (Premium); E = E (Premium); O = O (Premium); A = A (Premium); Y = Y; B = B; M = M; H = H; Q = Q; V = V; W = W; T = T; L = L; S = S; G = G; K = K; P = P; F = F; X = X (earns nothing); N = N (earns nothing); I = I (earns nothing); R = R (earns nothing). The letter on your ticket. J, Z, D and C are Business Premier; A, O, E and U Premium Economy; the rest Economy. | M |
| fare | No | Economy fare. S = Seat; SB = Seat+Bag; FC = Flexi Change; FR = Flexi Refund; WK = The Works or Works Flexi. Domestic flights: Seat, Seat+Bag, Flexi Change or Flexi Refund. Flights to Australia and the Pacific Islands: Seat, Seat+Bag, The Works or Works Flexi. Long-haul Economy earns the same on every fare. Only applies to some choices of the other fields; ignored otherwise. | S |
| segs | No | The flights, one way and in order, one entry per flight (1 to 8): from and to, the IATA codes of its two airports (required: the earn table is keyed by the airport pair); optional fromCountry and toCountry, the ISO 3166 two-letter country codes of its two airports. | |
| trip | No | Trip. ow = One way; rt = Round trip. Round trip counts the same flights back the other way. | ow |
| status | No | Your Koru tier. B = Bronze; S = Silver; G = Gold; P = Platinum; BK = Black. Your tier does not change what a flight earns; it is used for the progress below. | B |
| creditTo | No | Credit the flights to a partner program instead of Air New Zealand's own: united = United MileagePlus (creditStatus one of: General member, Premier Silver, Premier Gold, Premier Platinum, Premier 1K); aeroplan = Aeroplan (creditStatus one of: Aeroplan Member, 25K, 35K, 50K, 75K, Super Elite); flying-club = Flying Club (creditStatus one of: Red, Silver, Gold). Earns by each flight's distance and the booking class at the program's published partner rates; leave creditTo out for the airline's own program. The booking class is cls (or creditClass). Give the flights as creditFlights (one entry per flight with its great-circle miles). | |
| creditClass | No | The booking class letter for creditTo, when it differs from the class question. Ignored without creditTo. | |
| creditStatus | No | Your status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo. | |
| creditFlights | No | The flights for creditTo: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and optionally from/to airport codes. Defaults to segs when they carry miles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | ||
| notes | Yes | ||
| inputs | Yes | ||
| airline | Yes | ||
| headline | Yes | ||
| progress | No | ||
| breakdown | Yes | ||
| calculator | Yes |