run_headless
Run a Godot project or specific scene without a window to identify parse or runtime errors, using a configurable timeout for quick validation of game code.
Instructions
Runs the Godot project headlessly (no window) for a fixed duration to catch parse/runtime errors, or runs a specific scene headlessly. Requires the godot4 binary (or GODOT_BIN env var) to be installed.
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": {
"project_path": "<project_path>"
},
"name": "run_headless"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | No | Specific scene to run instead of the project's main scene | |
| timeout_ms | No | ||
| project_path | Yes |