Screenshot a scene
capture_screenshotRun a Godot game or single scene briefly, then take a screenshot of its rendered output to verify changes. The image is returned and saved to a temp folder.
Instructions
Run the game (or one scene) for a moment and return a screenshot of what it renders, so you can see the result of your changes. Uses Godot's Movie Maker mode, so a game window appears briefly. The image is also saved to a temp folder.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | Scene to capture (default: the main scene). | |
| seconds | No | Game time to run before capturing (default 1). | |
| resolution | No | Window size like "1280x720" (default: the project setting). | |
| projectPath | No | Folder containing project.godot. Optional: defaults to the project Claude Code is running in. |