scene_get_hierarchy
Retrieve the scene tree hierarchy from the open editor. Returns a paginated list of nodes with name, type, path, and child count up to a specified depth.
Instructions
Get the scene tree hierarchy from the open scene.
Returns a paginated flat list of nodes with name, type, path, and child count. Walks up to the specified depth.
Resource form: godot://scene/hierarchy — prefer for active-session
reads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum walk depth. Default 10. | |
| limit | No | Max number of nodes to return. Default 100. | |
| offset | No | Number of nodes to skip. Default 0. | |
| session_id | No | Optional Godot session to target. Empty = active session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||