diff --git a/skills/wego/SKILL.md b/skills/wego/SKILL.md index 53f45d9..e0af9b0 100644 --- a/skills/wego/SKILL.md +++ b/skills/wego/SKILL.md @@ -29,6 +29,8 @@ Then open only the reference for your path, and keep to that path for the whole Both the CLI and the MCP tools read live inventory and prices. Quote what they return rather than estimating, and never invent a figure they did not give you. +A flight fare whose `price.paymentBasis` reads `no_method_selected` is priced before any payment fee, and checkout can add one depending on how the traveller pays. Say so when you quote it, and never add or estimate that fee yourself. + ### Keep inputs and IDs Retain the user's original search inputs and the IDs returned by each command or tool. Map follow-ups such as "option 2" back to the corresponding object in the most recent result. diff --git a/skills/wego/references/cli.md b/skills/wego/references/cli.md index 993d091..d467d27 100644 --- a/skills/wego/references/cli.md +++ b/skills/wego/references/cli.md @@ -258,6 +258,8 @@ wego flights trip --search [--currency USD] [--locale en] [- Summarize the complete itinerary and available fares. Preserve every fare's `kind`, `fareId`, price, `refundable`, and `handoffUrl`. Refundability varies **between fares on the same trip**, so a "refundable" or "free cancellation" requirement is settled here, per fare, and never by the trip. This read is also where per-flight identity lives – flight numbers, and the marketing-vs-operating carrier on a codeshare. The leg's `operatingAirlines` names every carrier that only sells under someone else's code here, and `segments[].operatingCarrier` says which flight each one operates. +**A fare's total can come before a payment fee.** On `flights trip`, read each fare's `price.paymentBasis`. When it reads `no_method_selected`, the search named no payment method, so `total` holds no fee for one (`paymentFeeUsd: 0`). Checkout can then add a payment fee depending on how the traveller pays (some cards and pay-later options carry one, others do not), and wego.com preselects its popular methods, so the site can show a higher figure for the same fare. Say the total is before any payment fee when you quote it. When a price carries no `paymentBasis`, quote `total` as returned without that caveat. Read `paymentBasis` and `paymentFeeUsd`, never `includesFees`: it is deprecated and always `true`. Never add, estimate or subtract a fee yourself. A fare that carries `paymentFees` lists per-method fees by numeric `paymentMethodId` only: the lowest one is the least checkout adds, so do not average them, and do not name a method from its id. + **`--view detail` is a different shape, not a richer one.** It answers per segment – resolved airport names, airline and provider logos, seat and amenity metadata – and carries `legs[]` where the default carries `outbound`/`return`, with a `provider` object where the default has a flat `providerCode`. So the funnel runs on the **default** read: take a `fareId` from there, not from a detail read. Ask for `detail` when the user wants the texture of the flight itself (which airport terminal, what seat, what is on board), and stay on the default for everything else. It is **not** where you learn a segment is a bus or a train: the default read carries `transportType` on every segment and `transportTypes` on every leg, so the disclosure never depends on a view you were told you could skip. **Comparing every booking site's price across many options costs one trip read each.** For "show me all the sites selling these ten", say what it will take, or narrow to the two or three trips the user cares about first.