scene_get_hierarchy
Fetches the scene tree hierarchy as a paginated flat list of nodes, providing names, types, paths, and child counts for inspection and navigation, with configurable depth and offset.
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 | |||