capture_scene_screenshot
Load a Godot scene file directly and capture a single rendered frame for visual inspection, avoiding a full project run. Requires a real display to produce the screenshot.
Instructions
Load a specific .tscn scene file and capture one rendered frame without running the full project. Returns the image for visual inspection. Requires a real display (not --headless).
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 |
|---|---|---|---|
| scenePath | Yes | res:// path to the .tscn file to load and capture. | |
| timeoutMs | No | Hard timeout in milliseconds (default 15000). | |
| projectPath | Yes | Path to the directory containing project.godot |