Capture the game window
screenshotCapture the FiveM game window as a downscaled PNG for AI vision checks, with optional crop and maxSide to limit transcript cost.
Instructions
PNG of the FiveM window (PrintWindow with PW_RENDERFULLCONTENT; falls back to a screen BitBlt of the window rect when the swapchain returns black, which means whatever covers the window is also captured — the game is focused first). Downscaled so vision models can read it cheaply. COST WARNING: every screenshot stays in the transcript and is re-sent on every later turn - many shots multiply session latency. Prefer text probes (read_console, wait_for_console, bridge ops); when pixels are the evidence, keep maxSide small (640 suffices for layout checks) and crop to the panel of interest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Window-pixel rect, as an object or JSON string, e.g. {"x":300,"y":200,"width":400,"height":300} | |
| maxSide | No | Downscale longest side (default 900) |