Validate Order (Dry Run)
validate_order_draftUse when the user is about to buy and wants everything checked first - the eSIM Go validate-style dry run. Verifies the plan id exists, quantity (1-50), device eSIM compatibility, and single-country scope against the itinerary, then gives a published-price estimate. Places no order and charges nothing.
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": {
"plan_id": "<plan_id>"
},
"name": "validate_order_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan id (see search_plans) | |
| quantity | No | Quantity 1-50 (default 1) | |
| countries | No | Destination countries, for scope validation | |
| device_model | No | Phone model for an eSIM compatibility check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes |