Run the game
runPlay the game from the Godot editor, capture its runtime output and startup errors, then interact through input and view tools.
Instructions
Play the game from the editor and read its output. 'play' saves open scenes, launches, waits until the Godot Forge runtime inside the game connects, and returns startup errors. Then use game/input/view to interact.
Actions:
play: {scene?: 'main'|'current'|'res://x.tscn', restart?=true, timeout?=20, settle?=0.5, mute?} start the game. mute silences game audio (default: the godot_forge/mute_game_audio editor setting; always on in headless/test editors).
stop: {} stop the running game.
status: {} playing? connected? paused on an error? live fps/scene.
errors: {since?, level?='error'|'warning', source?} runtime + editor errors with script file:line and stack.
output: {since?, limit?} everything the game printed.
continue: {} resume after the debugger stopped on an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mute | No | Mute game audio. | |
| level | No | 'error' (default) or 'warning'. | |
| scene | No | 'main' (default), 'current', or a res:// scene. | |
| since | No | Only entries after this log sequence number. | |
| action | Yes | What to do. See the tool description for each action's parameters. | |
| restart | No | Restart if already running (default true). | |
| timeout | No | Seconds to wait for the game to connect. |