scene_tree
Inspect a Three.js scene hierarchy as a compact text tree or full JSON, with depth and type filters to locate objects and diagnose structure.
Instructions
[INSPECT] Read-only. Scene hierarchy. Compact text tree by default (~2KB); compact=false for full JSON with positions/geometry.
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": "scene_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max tree depth (default: 3) | |
| types | No | Filter by type: Mesh, Light, Group, etc. | |
| compact | No | Compact text tree (default: true) | |
| maxChildren | No | Max children per node (default: 15 compact, 100 JSON) |