get_remote_tree
Dumps the running game's live scene tree with path, depth, and node-limit scoping, so you can inspect runtime nodes without exceeding token budgets.
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'); state=true adds game-owned state (help(tool="get_remote_tree")). Returns {tree, node_count, truncated?}.
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": "get_remote_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| depth | No | ||
| state | No | ||
| collapse | No | ||
| max_nodes | No | ||
| max_children | No |