take_screenshot
Capture a PNG of the running Godot viewport, with options for inline preview, full image, or file path-only output.
Instructions
Capture a PNG of the running viewport. responseMode: preview (default — saves full PNG, returns bounded inline preview at 960x540), full (full inline PNG; use for small text or pixel-level inspection), path_only (saved-path only, no inline image). Saved under .mcp/screenshots. Returns: inline image block (full/preview modes), plus path and size of the saved PNG; previewPath/previewSize in preview mode; warnings for non-fatal runtime errors. Errors if no session or bridge times out (default 10000ms).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in milliseconds to wait for the screenshot (default: 10000) | |
| responseMode | No | Response payload mode. "preview" returns a bounded inline preview plus paths (default). "full" returns the full inline PNG. "path_only" returns paths only. | |
| previewMaxWidth | No | Maximum preview width in pixels when responseMode is "preview" (default: 960) | |
| previewMaxHeight | No | Maximum preview height in pixels when responseMode is "preview" (default: 540) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responseMode | No | ||
| path | No | ||
| size | No | ||
| previewPath | No | ||
| previewSize | No | ||
| warnings | No |