Find eSIM plans for a trip
find_plansGives the best one to three Roamfly plans for a trip: the destination, how many days, and how much data (GB) or unlimited. Cheapest first; each plan has its price, a one-line summary (networks, hotspot, when it starts) and buy_url, the link the buyer opens to pay on roamfly.co. If nothing covers the whole ask, exact is false and the closest plans come back.
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": {
"destination": "<destination>"
},
"name": "find_plans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trip length in days. | |
| data_gb | No | Data needed in GB for the whole trip. | |
| currency | No | Currency for prices: USD (default), EUR, GBP or CAD. Use the buyer's own currency when you know it. | |
| unlimited | No | true: only unlimited plans; false: only plans with a fixed amount of data. | |
| destination | Yes | Where the person travels: a country ("Japan", "JP"), a city or island ("Tokyo", "Bali"), a region ("Europe", "Asia") or "Global". |