apps_observe
Observe one active app instance—web preview or device—without screen sharing to retrieve derived DOM/layout, canvas pixel layers, and app-reported logs for measurement.
Instructions
Observe one exact active App instance without screen sharing: the web Preview or browser Simulator (target preview, the default), or the App running on the device (target device; binding from apps_input_targets, no workspaceId) and, with role output and that same binding, the picture it shows on a second screen. Returns derived DOM/layout, readable Canvas pixel layers and App-reported logs (the App’s console output), so an App can report numbers it measures. Canvas images are separate layers, not a full screenshot; CSS/SVG rendering and missing/tainted layers are not inferred. Requires this connection’s current AI approval, control and the exact binding. Does not capture the device desktop or another tab; use take_screenshot for device pixels.
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>",
"expectedRevision": "<expectedRevision>"
},
"name": "apps_observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| target | No | ||
| maxSide | No | ||
| generation | Yes | ||
| instanceId | Yes | ||
| workspaceId | No | ||
| 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. | |
| expectedRevision | Yes |