play_scene
Launch a Godot scene—specific, current, or main—then wait for play start and read logs; queue runtime property writes and run muted off-screen to keep working.
Instructions
Play a scene in the editor. 'scene' (res://) plays a specific scene; current=true plays the open scene; otherwise the project's main scene. Then wait_until condition=play_started, and logs_read for errors. on_ready queues runtime property writes applied the moment the new game connects — the restart boundary batch_execute cannot cross. quiet=true plays muted and off-screen so the person keeps working. Script errors do not pause the game (4.5+): game_logs has them. on_ready shape, retries, what quiet does per run mode: help(tool="play_scene").
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": "play_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quiet | No | mute the game and park its window off-screen without focus, so the person keeps working | |
| scene | No | res:// path; omit for main/current | |
| current | No | ||
| on_ready | No | property writes applied once the game connects (shape in help) |