query
Capture a screenshot of a window or screen and get answers about its content. Specify window title, process, or crop region to target specific UI elements.
Instructions
Capture a screenshot of a window and ask a question about its content. Omit both window_title and process_name to capture the currently focused foreground window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Optional region to crop from the captured window. Coordinates are relative to the window. Values exceeding window dimensions are clamped. | |
| mode | No | Capture mode: 'window' (default) captures a specific window, 'screen' captures the full primary monitor. In screen mode, window_title and process_name are ignored. Screen capture requires '__screen__' in the allowlist. | window |
| format | No | Image format: 'png' (default, lossless) or 'jpeg' (smaller, lossy) | |
| quality | No | JPEG quality 1-100 (default: 85). Ignored for PNG. | |
| dpi_mode | No | DPI scaling: 'native' (default, raw pixel resolution) or 'logical' (scaled to match visible UI size on HiDPI displays). Reduces payload size on high-DPI monitors. | |
| question | Yes | Question to answer about the screenshot content | |
| max_width | No | Maximum image width in pixels. If set, wider screenshots are proportionally scaled down. | |
| process_name | No | The process name to capture (e.g. 'chrome', 'Unity'). More stable than window titles which change dynamically. Omit to capture the foreground window. | |
| window_title | No | The window title or app name to capture. Omit to capture the foreground window. |