Screenshot the nested display
screenshotCaptures the composited display frame as PNG with exact pixels and resolved palette, including Wayland and X11 clients; image coordinates match click and pointer_move.
Instructions
Captures the composited frame (grim) as PNG - exact pixels, palette already resolved, includes Wayland and X11 clients. Coordinates in the image are the same coordinates used by click/pointer_move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| scale | No | Output scale factor | |
| width | No | ||
| height | No |