Read Explorer tree
get_treeReads a Roblox Studio instance hierarchy breadth-first with class names, paths, and child counts, helping you discover what exists before editing.
Instructions
Read the instance hierarchy under a path, breadth-first, with class names and paths. Use this to discover what exists before editing. Returns child counts plus a truncated flag when the tree is larger than maxNodes.
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_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Instance path. Accepts "Workspace.Model.Part", "game.Workspace.Model.Part" or "game.Workspace[\"My Part\"].Model". Use "game" or omit for the DataModel root. Default "game". | |
| depth | No | Levels to descend. Default 2. | |
| maxNodes | No | Node budget. Default 250. | |
| servicesOnly | No | Only list the direct children of the DataModel (services). Default false. | |
| includeProperties | No | Include a small property snapshot per node (slower). Default false. |