apps_interface_input
Send clicks, drags, scrolls, ASCII text, and key/chords to the active device App interface, including guide_start to press the current App Guide Start on a preview or device target.
Instructions
Click, drag, scroll, type English/ASCII text or send a key/chord in the active device App interface. Use event type guide_start to press the current App Guide Start on an explicit preview/device target; it does not approve access or I/O. Use apps_host_input for Menu/Device. Permission dialogs remain human-operated. Read apps_input_targets first; pointer coordinates are normalized App coordinates, scroll deltas are CSS pixels. Delivery confirms sent/dispatched events; use screenshots/App state to verify the intended result.
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": {
"instanceId": "<instanceId>",
"generation": "<generation>",
"event": "<event>"
},
"name": "apps_interface_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | type: guide_start/click/drag/scroll/text/key. guide_start has no coordinates and only presses the current first-open Guide Start. Pointer x,y and drag toX,toY: 0..1. Scroll deltaX,deltaY: -2000..2000. Text: ASCII, max2048. Key: Enter/Tab/Backspace/Delete/arrows/Home/End/Escape or one ASCII character; ctrlKey/altKey/shiftKey/metaKey booleans. | |
| target | No | Default device; preview supports guide_start only. | |
| generation | Yes | ||
| instanceId | 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. |