Create an OtaKit preview link
create_previewGenerate a private link and QR code for an uploaded bundle so one tester can open it in the installed app until exit or expiry; no release or impact on other devices.
Instructions
Create a private link and QR code that open an uploaded bundle in the installed app on one phone (plugin 3.2+ with preview links enabled) until the tester exits or the link expires. Nothing is released and no other device is affected. Share the returned url.
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": {
"bundleId": "<bundleId>"
},
"name": "create_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | OtaKit app ID. Optional on a local connection whose project configures one; required otherwise. | |
| bundleId | Yes | OtaKit bundle ID | |
| expiresIn | No | How long the link works (default 7d) | |
| urlScheme | No | The app's custom URL scheme (for example myapp), needed once per app so the link can open it |