roamzy_order_status
Poll the status of a pending eSIM order: get the payment URL while waiting, then the activation link once finished.
Instructions
Poll the status of a pending order. Status progresses: waiting → confirming → finished → (eSIM activated). While it is still waiting the response carries pay_url — re-surface that to the user instead of starting a new order; it is the same link they were given at checkout. Once status=finished, call get_esim for the activation link. Response includes msisdn — when telling the user about progress, refer to the eSIM by its msisdn, not by intent_id / esim_id / order_id.
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": {
"order_id": "<order_id>"
},
"name": "roamzy_order_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Internal intent_id from create_order. Never shown to the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | waiting → confirming → finished. Fetch the eSIM once finished. | |
| esim_id | No | ||
| pay_url | No | The link that pays this order, for as long as it is waiting. Give it to the user again rather than creating a second order. | |
| order_id | No | ||
| intent_id | No | ||
| created_at | No | ||
| updated_at | No | ||
| amount_usdt | No | ||
| user_facing | No | ||
| country_slug | No | ||
| provider_invoice_id | No | ||
| provider_payment_id | No |