scene_get_tree
Retrieve the node tree structure of a Godot scene. Specify project and scene paths to get JSON with node names, types, and children.
Instructions
Get the node tree structure of a scene.
Category: Scene
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) max_depth: Maximum depth to traverse (-1 for unlimited, default: -1)
Returns: JSON containing the scene's node tree with node names, types, and children
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| max_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |