Screenshot + accessibility tree
observeCaptures a screenshot and accessibility tree for one window, desktop, or display in a single call, letting agents inspect UI state without separate requests.
Instructions
Screenshot and AX tree of one target in one call.
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": {
"target": "<target>"
},
"name": "observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include nodes normally pruned as uninteresting. | |
| target | Yes | Window id from list_windows, "desktop", or "display:<id>" / "display:active" / "display:all". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard. | |
| maxDepth | No | Maximum tree depth. | |
| maxNodes | No | Maximum node count. | |
| maxWidth | No | Max delivered width (default 1366). | |
| maxHeight | No | Max delivered height (default 768). |