Plan eSIMs for a multi-country trip
plan_trip_esimUse this when one trip visits SEVERAL countries or regions, e.g. "Japan then China", "two weeks in France, Italy and Spain", "Thailand, Vietnam and Cambodia in March". Pass EVERY stage in travel order, with the days spent in each when known (or totalDurationDays), and the data need. Compares, at the real total price, every way to cover the trip: (a) one eSIM for every stage (regional or worldwide plan; coverage is checked country by country against the MyBestSim catalogue, never guessed from a plan name), (b) one plan per stage, and combinations (a regional plan for some stages, other plans for the rest; several regional plans). A plan is only proposed for stages it covers, for their whole duration and data need. Recommends the cheapest total; prefers fewer eSIMs unless installing more saves at least $2 per extra eSIM, and says so. Gives the reason, the number of eSIMs, total price, data and validity, and links to the MyBestSim pages where the traveller buys. List the countries themselves as stages: a region stage (Europe, Asia…) only matches plans listed on that region page. Ask how long they stay and how much data they use when they have not said: without it a 7-day trip with standard use is assumed and reported in "assumptions". Prepaid travel eSIMs only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataGb | No | Data for the WHOLE trip in GB, when the traveller gives a figure (spread over the stages by days). Unlimited plans always qualify. | |
| dataNeed | No | Data appetite when no figure is given: light ≈ 0.3 GB/day, standard ≈ 0.7 GB/day, heavy ≈ 1.5 GB/day. Default standard. Ignored when dataGb is set. | |
| features | No | Features every proposed plan must include. | |
| language | No | Language of the conversation (ISO 639-1). Links open our comparison page in that language when it exists, otherwise in English. Default "en". | |
| itinerary | Yes | The stages of the trip in travel order (1 to 8). A stage is a country, a well-known city or one of the regions (Europe, Asia…). | |
| unlimited | No | true = unlimited plans only; false = fixed-data plans only; omit for both. | |
| totalDurationDays | No | Whole trip length in days, when the stages are not dated one by one (a single plan must last this long). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| dataGb | Yes | Data needed for the whole trip; null for unlimited-only. | |
| stages | Yes | ||
| currency | Yes | ||
| language | Yes | ||
| perStage | Yes | ||
| totalDays | Yes | ||
| singlePlan | Yes | ||
| assumptions | Yes | What was assumed because the traveller did not say it (null = given). Ask for the real value to refine. | |
| combination | Yes | ||
| recommendation | Yes | ||
| optionsByEsimCount | Yes | Cheapest real total for each possible number of eSIMs (every split of the stages compared), to show what one more or one fewer eSIM costs. | |
| plansCoveringAllStages | Yes | Plans proven to cover every stage (listed on the page of each stage, or with a catalogue line in each country of the trip), before the length/data/feature criteria. | |
| singlePlanAlternatives | Yes | Other single plans covering every stage (up to 2). |