Embed phone
embed_phoneGet an iframe URL that shows this running Android phone live inside your own web app, for its end users (an app preview): signed, short-lived, framed only by the origin you name, which must be on the workspace's allowed list (PUT /v1/embed/origins). View-only by default; interactive lets the end user tap, swipe and type on the phone (and nothing else: no other phone, no account). Billed as normal phone minutes. DELETE /v1/phones/{id}/embed ends every link of the phone.
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": {
"phone_id": "<phone_id>",
"origin": "<origin>"
},
"name": "embed_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | The origin of the page that holds the iframe, e.g. "https://app.example.com" | |
| phone_id | Yes | Phone id, ph_… | |
| interactive | No | true: taps, swipes and typing reach the phone; default false (view-only) | |
| ttl_seconds | No | How long the link opens, 60 to 3600; default 900 |