desktop_observe
Observe desktop state to retrieve window lists, UI Automation trees, OCR text, hybrid UIA+OCR data, or annotated screenshots with grid overlays and template matching for AI-driven automation.
Instructions
Observe desktop state: list windows (mode='windows'), fast COM UIA tree (mode='tree', diff=true), adaptive RapidOCR/WinRT OCR (mode='ocr'), UIA+OCR (mode='hybrid'), or annotated screenshot (mode='screenshot'). Supports background PrintWindow capture, OpenCV multi-scale template_path matching, SoM grid=true overlay, and zoom_scale.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "desktop_observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | ||
| grid | No | ||
| mode | No | tree | |
| region | No | ||
| window | No | ||
| annotate | No | ||
| ocr_lang | No | auto | |
| grid_cols | No | ||
| grid_rows | No | ||
| threshold | No | ||
| ocr_engine | No | auto | |
| zoom_scale | No | ||
| max_elements | No | ||
| include_image | No | ||
| template_path | No | ||
| background_capture | No |