viewport_capture_screenshot
Capture the active Unreal Engine viewport as a PNG file saved to a workspace-local directory. Returns filepath, dimensions, size, and hash for verification.
Instructions
Capture the active Unreal viewport to a workspace-local PNG artifact.
Args: artifact_name: Screenshot filename stem screenshot_dir: Workspace-relative output directory show_ui: Forwarded to the native screenshot command when supported resolution: Forwarded to the native screenshot command when supported
Returns: JSON string with filepath, dimensions, size, and hash.
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: viewport_capture_screenshot()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show_ui | No | ||
| resolution | No | ||
| artifact_name | No | viewport | |
| screenshot_dir | No | .mcp_artifacts/screenshots |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |