Скриншот игры
godot_screenshotCapture a running Godot 4.x game frame to PNG for visual debugging; optionally crop to a Node. Requires rendered mode, not headless.
Instructions
Снимок кадра игры в PNG. Требует запуска с render=true (godot_run { mode: "start", render: true }) — в headless рендерера нет. node — вырезать область узла (Control/Node2D/Node3D). Возвращает путь к файлу и само изображение.
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": "godot_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Узел для кропа кадра | |
| path | No | Путь для сохранения, по умолчанию .mcp-shots/shot_<ts>.png | |
| scale | No | Масштаб PNG после захвата | |
| timeout_ms | No |