capture_screenshot
Run a Godot scene and capture its rendered output as an image to visually verify the scene without manual inspection.
Instructions
Run a Godot scene and capture a screenshot of the rendered output. Returns the image so the agent can visually verify the scene. Requires a real display (not --headless). On headless Linux, wrap Godot with xvfb-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenePath | No | Optional res:// path to a .tscn file to run. Defaults to the project main scene. | |
| timeoutMs | No | Hard timeout in milliseconds (default 15000). Godot is killed if the capture takes longer. | |
| waitFrames | No | Number of frames to render before capture (default 10). Lets shaders, physics, and layout settle. | |
| projectPath | Yes | Path to the directory containing project.godot |