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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>"
},
"name": "capture_scene_screenshot"
}
}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) |