Troubleshoot an eSIM
troubleshootGet step-by-step fixes to relay to the traveler when an eSIM will not install or has no data. Use it when a delivered order's traveler reports a problem, before regenerate_activation or request_refund. Example: {order_id: "ord_...", device: {os: "ios", model: "iPhone 15"}, symptom: "no_data"}. Returns ordered steps for an order's eSIM that does not install (cant_install_qr) or does not work (no_data, no_signal, slow), worded for the phone (device.os ios or android, device.model if known): eSIM compatibility and carrier lock, install by QR or manual entry (SM-DP+ address and activation code), data roaming on the eSIM line, the eSIM as the data line, the APN when the plan has one, airplane-mode toggle and restart, then the escalation (regenerate_activation, request_refund with reason not_working and the evidence to include, or order_status for a code not delivered yet). Also returns the order's status and the plan's APN, networks and network types (plan_facts); activation and usage only as the supplier reports them. Read-only: it reissues nothing and opens no dispute. Any agent of the order's principal may call it; other principals get ORDER_NOT_FOUND. A refunded or failed order gets no steps.
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>",
"device": "<device>",
"symptom": "<symptom>"
},
"name": "troubleshoot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The traveler's phone: os (ios or android) and, if known, model | |
| symptom | Yes | What the traveler sees: cant_install_qr (the eSIM will not install), no_data (installed but no internet), no_signal (no network) or slow | |
| agent_id | No | Your agent id (or X-Agent-Id header) | |
| order_id | Yes | Order id from purchase (order.order_id) or from an earlier order_status call | |
| agent_key | No | Secret returned by register_agent (or X-Agent-Key header) | |
| principal_id | No | The principal you act for (or X-Principal-Id header) |