get_project_structure
Retrieve the complete hierarchy of a Roblox game project, starting from the workspace root or a specified path. Use the maxDepth parameter to control traversal depth, with higher values (5-10) for detailed exploration. Optional filters include scriptsOnly for isolating script containers.
Instructions
Get complete game hierarchy. IMPORTANT: Use maxDepth parameter (default: 3) to explore deeper levels of the hierarchy. Set higher values like 5-10 for comprehensive exploration
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxDepth | No | Maximum depth to traverse (default: 3). RECOMMENDED: Use 5-10 for thorough exploration. Higher values provide more complete structure | |
path | No | Optional path to start from (defaults to workspace root) | |
scriptsOnly | No | Show only scripts and script containers |
Input Schema (JSON Schema)
{
"properties": {
"maxDepth": {
"default": 3,
"description": "Maximum depth to traverse (default: 3). RECOMMENDED: Use 5-10 for thorough exploration. Higher values provide more complete structure",
"type": "number"
},
"path": {
"default": "",
"description": "Optional path to start from (defaults to workspace root)",
"type": "string"
},
"scriptsOnly": {
"default": false,
"description": "Show only scripts and script containers",
"type": "boolean"
}
},
"type": "object"
}