get_remote_tree
Get a scoped snapshot of the running game's live scene tree, using path, depth, and node limits to stay within token budgets. Collapse repeated leaf siblings to keep the output compact.
Instructions
Dump the live scene tree of the RUNNING game (runtime counterpart of get_scene_tree). SCOPE IT to stay under token limits — a full game tree blows the budget. path=subtree root (name, relative, or absolute /root/...); depth=levels (-1=all); max_nodes (default 250); max_children per node (default 50); collapse=true groups runs of identical leaf siblings (e.g. '8x CPUParticles2D'). Returns {tree, node_count, truncated?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| depth | No | ||
| collapse | No | ||
| max_nodes | No | ||
| max_children | No |