capture_scene_screenshot
Boot a Godot scene with a rendering driver, capture a screenshot, and save it as PNG. Accepts scene path and optional parameters for viewport size and capture delay.
Instructions
EXPERIMENTAL visual UAT: boot a scene with a rendering driver and save a PNG screenshot. Requires a GPU/display or a software rasterizer; may fail in pure-headless CI. Returns the image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene to capture (relative to project) | |
| outputPath | No | Where to save the PNG (relative to project, default user://screenshot.png) | |
| waitFrames | No | Frames to advance before capturing (default 5) | |
| width | No | Viewport width (default from project settings) | |
| height | No | Viewport height (default from project settings) |