Get Scene Hierarchy
unity_get_hierarchyList root GameObjects in the active Unity scene with component summaries and pagination. Use it to explore scene contents; search specific objects with unity_find_gameobjects.
Instructions
List root GameObjects of the active scene with components summary. Paginated.
Args:
root_only (bool, default true): only roots; false includes one level of children in 'children'
limit (1-100, default 20), offset (default 0)
response_format markdown|json
Use when: exploring what is in the scene. For search use unity_find_gameobjects. Returns markdown list + structured { total, count, offset, items, has_more, next_offset }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_get_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1-100) | |
| offset | No | Number of results to skip for pagination | |
| root_only | No | If true return only root objects; if false include full tree | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |