Plan eSIMs for a trip
plan-tripAnswer "which eSIM should I buy for this trip?". Give it the stops, a country code and the days spent in each, and it compares one plan covering the whole route against one plan per country against a mix of the two, on live prices, then flags the cheapest option that covers everything and explains the choice in a sentence you can quote. It also estimates the data each stop needs, names any country SimFuse cannot cover, and returns package ids that go straight into create-checkout-session. Use it whenever a trip has two or more countries, and for a single country when the traveller wants a recommendation rather than a list. Read-only: nothing is reserved and nothing is charged, and the totals are today's catalog prices, not a quote held for later.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stops": "<stops>"
},
"name": "plan-trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Optional. Departure date as YYYY-MM-DD, e.g. "2026-04-18". Only used to date the stops in the answer; it does not change prices. Defaults to today. | |
| stops | Yes | The trip, one entry per country, in travel order. 1 to 12 stops, e.g. [{"country":"JP","days":7},{"country":"KR","days":5}]. | |
| usage | No | Optional. Trip-wide data usage for stops that do not set their own: "light" (about 300 MB a day), "regular" (about 800 MB a day) or "heavy" (about 2 GB a day). Defaults to "regular". | regular |
| currency | No | Optional. ISO 4217 three-letter code every price is quoted in, e.g. "USD", "EUR", "GBP". Defaults to EUR. An unknown code falls back to EUR rather than failing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | Yes | The trip as it was understood, which is worth reading back to the traveller. | |
| reason | Yes | One sentence explaining the recommendation, written to be quoted to the traveller verbatim. | |
| options | Yes | Every way of buying the trip that we could price, cheapest-first within each strategy. Empty when nothing we sell covers it. | |
| checkout | Yes | How to act on the recommendation. | |
| contract | Yes | Version of this answer's shape. "1" today; it only changes when an existing field changes meaning. | |
| currency | Yes | ISO 4217 code every amount below is quoted in, e.g. "EUR". | |
| warnings | Yes | Trip-level caveats: a country SimFuse does not sell, or a gap the recommended option leaves. Say these out loud rather than dropping them. | |
| planner_url | Yes | The same trip on the SimFuse website, for a person who wants to finish it themselves. | |
| recommendation | Yes | Which strategy won: one plan for the whole route, one plan per country, or a mix. Null when nothing we sell covers the trip. |