capture_scene_screenshot
Run a fresh Godot scene and return its rendered viewport as a PNG image. Requires a display; it does not capture an existing run.
Instructions
Run a fresh scene and return its rendered viewport as a PNG image. Requires a display; does not capture an existing run.
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 |
|---|---|---|---|
| frames | No | ||
| scenePath | Yes | Relative or res:// PackedScene path | |
| timeoutMs | No | ||
| projectPath | Yes | Godot project directory |