order_esim
Buy an eSIM plan from the balance. The response carries the activation code and QR when ready; otherwise poll get_esim_order.
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": {
"packageCode": "<packageCode>"
},
"name": "order_esim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Day passes only: term in days, 1–365 | |
| quantity | No | How many eSIMs, 1–10 (default 1) | |
| packageCode | Yes | The plan code |