capture_editor_window
Captures a game or Miliastra editor window as an inline PNG with coordinate metadata, using window or screen mode; inspect the image before use because GPU content or overlaps can make it unusable.
Instructions
Capture a freshly discovered game/editor window and return an inline PNG plus original file and coordinate metadata. window mode uses PrintWindow; GPU content may be blank/stale. screen mode requires foreground; fully covered edges are cropped, interior other-app overlaps are rejected. Does not focus windows or send input. Inspect the image before assuming it is usable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | window | |
| maxWidth | No | ||
| windowId | Yes | ||
| maxHeight | No |