Screenshot Window
screenshot_windowCapture a specific window on a Hyprland desktop by title, class, address, or focused window. Resolves the target and returns the screenshot as base64 for further analysis.
Instructions
Capture a specific window by title, class, address, or the keyword "focused". Uses hyprctl to resolve the window and grim -T to capture it. Returns the image inline as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | Window to capture: "focused" for the active window, an exact address (0x...), or a substring matched against window title and class | |
| include_cursor | No | Include the mouse cursor in the screenshot |