Search eSIM plans
search_plansFind eSIM data plans for a destination, with final prices in minor units. Use it first, when a traveler needs mobile data abroad: filter by country (ISO code), region, minimum data, validity and price, then compare. Returns results (each with id, title, countries, regions, data_gb or "unlimited", validity_days, price_final {amount_minor, currency, tax_included}, availability, delivery, refund_rule and constraints such as hotspot, network types and operators), total_matches, sort and excluded_suppliers. Defaults: in-stock plans only, cheapest first, 10 results. Read-only and free; pass a result's id to get_quote. Suppliers below the trust threshold are excluded and listed in excluded_suppliers. Example: {country: "JP", min_data_gb: 5, max_validity_days: 30, sort: "price"}.
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": "search_plans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | price (default, cheapest first), price_per_gb (best value per GB) or validity (longest first) | |
| limit | No | How many plans to return, 1-50 (default 10) | |
| region | No | Coverage region (EUROPE, ASIA, MIDDLE_EAST, NORTH_AMERICA, LATIN_AMERICA, OCEANIA, AFRICA or GLOBAL); use country for one destination | |
| country | No | Destination country as an ISO 3166-1 alpha-2 code, for example JP, US, GB or TH | |
| agent_id | No | Your agent id (or X-Agent-Id header) | |
| category | No | Product category; only esim is sold | |
| agent_key | No | Secret returned by register_agent (or X-Agent-Key header) | |
| min_data_gb | No | Minimum data in GB; unlimited plans always qualify | |
| principal_id | No | The principal you act for (or X-Principal-Id header) | |
| unlimited_only | No | true: only unlimited-data plans | |
| max_price_minor | No | Highest acceptable final price in minor units (1500 = 15.00 USD) | |
| max_validity_days | No | Longest acceptable validity in days, for example 30 | |
| min_validity_days | No | Shortest acceptable validity in days, for example 7 | |
| include_out_of_stock | No | true: also list plans that are out of stock (default false) |