Top up an eSIM (spends balance)
topup_esimAdd a package to an existing eSIM. Two-step: without confirm returns the package name, cost and current balance; with confirm: true executes.
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": {
"iccid": "<iccid>",
"package_code": "<package_code>"
},
"name": "topup_esim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iccid | Yes | ICCID of the eSIM (19-20 digits) | |
| confirm | No | Omit to get a preview; pass true to execute | |
| package_code | Yes | From get_topup_packages |