scene_tree
List all objects in a Three.js scene tree. Filter by type and depth, with compact text or full JSON output.
Instructions
List all objects in the Three.js scene tree. Returns compact text tree by default (saves tokens). Set compact=false for full JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max tree depth (default: 3) | |
| types | No | Filter by type: Mesh, Light, Group, etc. | |
| maxChildren | No | Max children per node (default: 15 compact, 100 JSON) | |
| compact | No | Compact text tree (default: true). Set false for full JSON with positions/geometry. |