screenshot
Capture an inline PNG from the game runtime or editor viewport, with optional crop region to save tokens.
Instructions
Capture an image the agent can see (inline PNG). target=game (default) screenshots the RUNNING game via the runtime channel; target=editor captures the 2D editor viewport. region=[x,y,w,h] in pixels crops to that rect (clamped) to save tokens â screenshot full once to learn the size, then crop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | [x,y,w,h] pixel crop | |
| target | No | game | editor |