runtime_screenshot
Capture the rendered frame of a running windowed game as an image plus its size. Requires a session started with windowed=true, since headless games draw no pixels.
Instructions
Capture what a windowed game is drawing. Returns: the image, with its size. Needs a session started with windowed=true; a headless game has no pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session from runtime_run. Required only when several games run. |