see
Capture a window to get its UI element tree and screenshot, revealing visible controls and text for app inspection and error diagnosis.
Instructions
Capture a window and return its UI element tree (buttons, text fields, labels, etc.) plus a screenshot. Use this to understand what is visible in an application without asking a specific question. Omit both window_title and process_name to inspect the currently focused foreground window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Extraction mode: 'full' (default) returns screenshot + UI element tree + visible text; 'text' returns screenshot + visible text only, skipping the element list for a smaller payload. Both modes walk the element tree internally to harvest nested text. | full |
| process_name | No | The process name to inspect (e.g. 'chrome', 'notepad'). More stable than window titles. Omit to inspect the foreground window. | |
| window_title | No | The window title or app name to inspect. Omit to inspect the foreground window. |