Dump the Three.js scene graph with world-space data
inspect_sceneRetrieve detailed scene tree data (names, positions, rotations, bounding boxes, geometry, materials) from a Three.js HTML scene to diagnose placement and sizing errors.
Instructions
Returns the scene tree (names, types, positions, rotations, world bounding boxes, geometry and material info) for a scene that registers window.__scene. Use it to reason about EXACT placement and sizes when fixing issues reported by validate_scene (e.g. which Y puts the hat on the head). Three.js only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "inspect_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the scene .html file (must register window.__scene) | |
| max_depth | No | Maximum tree depth to dump | |
| filter | No | Only include subtrees whose name/type contains this substring | |
| width | No | Viewport width in px | |
| height | No | Viewport height in px | |
| settle_frames | No | requestAnimationFrame frames to wait after load before capturing | |
| extra_wait_ms | No | Extra fixed wait after settling, for slow async scenes | |
| timeout_ms | No | Hard cap for the whole operation |