Screenshot Region
screenshot_regionSelect a rectangular screen area using pixel coordinates and return it as a base64-encoded image, enabling AI agents to capture and inspect screen regions on Hyprland.
Instructions
Capture a rectangular screen region by pixel coordinates using grim (Wayland wlroots screencopy). Coordinates are in layout pixels. Returns the image inline as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate in pixels | |
| y | Yes | Top-left Y coordinate in pixels | |
| scale | No | Downscale factor (e.g. 0.5 for half resolution) to reduce image size | |
| width | Yes | Region width in pixels | |
| height | Yes | Region height in pixels | |
| include_cursor | No | Include the mouse cursor in the screenshot |