apps_preview_input
Send normalized control or pointer events to the connected preview, enabling interactive app previews only when AI editing control is active.
Instructions
Send a normalized control or pointer event to the connected preview only. Requires current AI editing control; cannot launch or control the device App.
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": {
"workspaceId": "<workspaceId>",
"event": "<event>"
},
"name": "apps_preview_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| workspaceId | Yes | ||
| connectionRef | No | The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected. |