get_tree
Map a Roblox instance hierarchy with minimal tokens: same-class sibling runs fold into single "ClassName ×N" lines so large models stay compact. Start here to understand a place before requesting exact paths.
Instructions
Map the hierarchy under an instance with as few tokens as possible: runs of same-class siblings fold into one "ClassName ×N" line, so a 4,000-part model costs about one line. Read-only. Start here to understand a place or a large model. For exact paths of every descendant use get_descendants; for one instance's properties, tags and children use describe.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Root of the tree to map, e.g. "Workspace" or "StarterGui". Dot path from the DataModel root, e.g. "Workspace.Map.Door" or "StarterGui.HUD.Frame". A leading "game." is optional; a duplicate sibling name takes the suffix Tufan prints, e.g. "Part (2)". | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| maxDepth | No | How many levels below path to include. Default 4. | |
| className | No | Only show descendants that are this class or inherit from it, e.g. "BasePart" or "Script". | |
| collapseMin | No | Fold a run of same-class siblings once it is longer than this. Default 6. |