Game / Run
game-runRun a Godot scene windowless for a set game time and return its errors, warnings, and printed output—so you can reproduce runtime issues and verify fixes in one call.
Instructions
Run the game (the main scene, or 'scene') windowless in a separate process for 'seconds' of game time and return, in one call, its errors and warnings (with GDScript backtraces) and what it printed. Use it to reproduce a runtime error and to check a fix; no play / wait / stop / log reading needed. It runs the files as saved: save scene edits first (rql-mutate editor | call SaveScene()); C# changes need script-build first. Nothing is rendered, so errors that need a GPU or a window do not show.
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": "game-run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | res:// (or uid://) path of the scene to run; omit for the project's main scene. | |
| seconds | No | Game time to run, in seconds (fixed 60 frames per second, so a light game finishes faster than real time). Default 3, at most 60. |