Search travel eSIM plans
search_plansSearch travel eSIM data plans by destination country and trip duration, returning data allowance, validity days, USD price, and a plan_id for quotes or purchase.
Instructions
Search travel eSIM data plans for a destination country. Returns plans with data allowance, validity in days, and USD price. Use this first when a user wants mobile data for a trip (e.g. "5GB in Italy for 10 days"). Returns a plan_id to pass to get_quote / purchase.
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": {
"country_code": "<country_code>",
"duration_days": "<duration_days>"
},
"name": "search_plans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_gb | No | Minimum data in GB. Omit to return all sizes (unlimited plans always pass). | |
| sort_by | No | Result ordering. "price" = cheapest first (default). | price |
| country_code | Yes | Destination country as an ISO 3166-1 alpha-2 code, e.g. "IT" for Italy. | |
| duration_days | Yes | Days of coverage needed. Plans shorter than this are filtered out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| plans | Yes | ||
| how_to_buy | No |