scene_get_hierarchy
Retrieve the current scene's node hierarchy with pagination and depth control. Get node names, types, paths, and child counts to inspect or navigate the open scene.
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 | |||