Cathay Pacific Asia Miles and Status Points Calculator
calculate_cathay_pacific_milesEstimate what a Cathay Pacific flight earns (miles and status points) from its distance in miles, booking class and fare type, using cwsi.net's calculator and the airline's published rules. Get the miles from calculate_flight_distance. For flights of 751 to 2,750 miles to or from Japan, Indonesia, Sri Lanka, Nepal, Bangladesh or India, set t2 to that country code (JP, ID, LK, NP, BD or IN); otherwise leave t2 out. 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_cathay_pacific_miles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sp | No | Status Points you have so far (optional). Used only for the progress toward the next tier. | |
| t2 | No | Japan, Indonesia, Sri Lanka, Nepal, Bangladesh or India at either end?. none = None of these; JP = Japan; ID = Indonesia; LK = Sri Lanka; NP = Nepal; BD = Bangladesh; IN = India. Short-haul flights (751 to 2,750 miles) to or from these countries are Type 2 and earn more. Pick the country when either end of the flight is in one of them. Only applies to some choices of the other fields; ignored otherwise. | none |
| cls | No | Booking class. FA = F, A (First Flex); JC = J, C (Business Flex); DP = D, P (Business Essential); I = I (Business Light); WR = W, R (Premium Economy Flex); E = E (Premium Economy Essential); YBHK = Y, B, H, K (Economy); MLV = M, L, V (Economy); SNQO = S, N, Q, O (Economy). | YBHK |
| fare | No | Economy fare type. L = Light; E = Essential; F = Flex. Economy classes are sold as Light, Essential or Flex, and each earns differently. Only applies to some choices of the other fields; ignored otherwise. | |
| trip | No | Trip. ow = One way (1 flight); rt = Round trip (2 flights). | ow |
| miles | No | Flight distance (miles). One flight (sector). Filled in from the airports above; you can also type it. | |
| status | No | Your Cathay status. GR = Green; SV = Silver; GD = Gold; DM = Diamond. | GR |
| creditTo | No | Credit the flights to a partner program instead of Cathay Pacific's own: american = American AAdvantage (creditStatus one of: AAdvantage member, AAdvantage Gold, AAdvantage Platinum, AAdvantage Platinum Pro, AAdvantage Executive Platinum); alaska = Atmos Rewards (creditStatus one of: Atmos Rewards member, Atmos Silver, Atmos Gold, Atmos Platinum, Atmos Titanium); ba-club = British Airways Club (creditStatus one of: Blue, Bronze, 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. Give the booking class letter as creditClass. Give the flights as creditFlights (one entry per flight with its great-circle miles). | |
| creditClass | No | The booking class letter on the ticket, for creditTo (required with creditTo). 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 |