runtime_tree
Inspect the live scene tree of a running Godot game, including nodes created at runtime. Use returned paths or object IDs with runtime_inspect for debugging.
Instructions
The live scene tree of a running game, including nodes created at runtime. Returns: nested nodes with name, type (script class_name or path when scripted), path, object_id and visibility. Use the path or object_id with runtime_inspect.
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": "runtime_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Only this subtree, e.g. '/root/Main/Enemies' | |
| max_depth | No | Levels below the start to include (default 8) | |
| session_id | No | Session from runtime_run. Required only when several games run. |