{"at":"2026-11-23T00:35:10.234Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:35:10.726Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:35:13.865Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:35:14.341Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"threejs-devtools-mcp","version":"0.1.2"}}}}
{"at":"2026-11-23T00:35:14.341Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:35:14.341Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:35:14.345Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"List all objects in the Three.js scene tree. Returns compact text tree by default (saves tokens). Set compact=false for full JSON.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"compact":{"description":"Compact text tree (default: true). Set false for full JSON with positions/geometry.","type":"boolean"},"depth":{"description":"Max tree depth (default: 3)","type":"number"},"maxChildren":{"description":"Max children per node (default: 15 compact, 100 JSON)","type":"number"},"types":{"description":"Filter by type: Mesh, Light, Group, etc.","items":{"type":"string"},"type":"array"}},"type":"object"},"name":"scene_tree"},{"description":"Get detailed info about a specific object by name, uuid, or path","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Object name (first match)","type":"string"},"path":{"description":"Dot path: \"Scene.MyGroup.MyMesh\"","type":"string"},"uuid":{"description":"Object UUID","type":"string"}},"type":"object"},"name":"object_details"},{"description":"List all materials in the scene with type, color, transparency","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"material_list"},{"description":"Get full properties of a material: color, maps, uniforms, defines","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Material name","type":"string"},"uuid":{"description":"Material UUID","type":"string"}},"type":"object"},"name":"material_details"},{"description":"Get compiled vertex/fragment shader source and uniforms for a material","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"materialName":{"description":"Material name","type":"string"},"materialUuid":{"description":"Material UUID","type":"string"}},"type":"object"},"name":"shader_source"},{"description":"List all compiled shader programs with their material associations","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"shader_list"},{"description":"List all textures: size, format, wrap, filter settings","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"texture_list"},{"description":"Get detailed info about a specific texture","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Texture name","type":"string"},"uuid":{"description":"Texture UUID","type":"string"}},"type":"object"},"name":"texture_details"},{"description":"Get renderer stats: draw calls, triangles, memory, capabilities","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"renderer_info"},{"description":"Set a material property (color, roughness, wireframe, etc.). IMPORTANT: This is a runtime-only preview (lost on reload). Before calling, ASK the user whether they want a runtime preview or a persistent code change.\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Material name","type":"string"},"property":{"description":"Property name: color, emissive, roughness, metalness, opacity, transparent, wireframe, visible, side, depthWrite, depthTest, alphaTest, flatShading, fog","type":"string"},"uuid":{"description":"Material UUID","type":"string"},"value":{"description":"New value (hex string for colors, number for scalars, boolean for flags)"}},"required":["property"],"type":"object"},"name":"set_material_property"},{"description":"Set a shader uniform value on a ShaderMaterial — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Material name","type":"string"},"uniform":{"description":"Uniform name (e.g. uHorizonColor, uOpacity)","type":"string"},"uuid":{"description":"Material UUID","type":"string"},"value":{"description":"New value: hex string for Color, {x,y,z} for Vector3, number for float"}},"required":["uniform"],"type":"object"},"name":"set_uniform"},{"description":"Set position, rotation, scale, or visibility of a scene object — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Object name","type":"string"},"position":{"description":"[x, y, z]","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"rotation":{"description":"[x, y, z] in radians","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"scale":{"description":"[x, y, z]","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"uuid":{"description":"Object UUID","type":"string"},"visible":{"description":"Show/hide object","type":"boolean"}},"type":"object"},"name":"set_object_transform"},{"description":"Modify light properties: color, intensity, position, shadows — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"castShadow":{"description":"Enable/disable shadows","type":"boolean"},"color":{"description":"Light color (#RRGGBB)","type":"string"},"groundColor":{"description":"Ground color for HemisphereLight (#RRGGBB)","type":"string"},"intensity":{"description":"Light intensity","type":"number"},"name":{"description":"Light name","type":"string"},"position":{"description":"[x, y, z]","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"uuid":{"description":"Light UUID","type":"string"}},"type":"object"},"name":"set_light"},{"description":"Highlight an object for debugging (wireframe or visibility toggle). Runtime only — for visual inspection, not persisted.\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"enabled":{"description":"Enable/disable highlight (default: true)","type":"boolean"},"mode":{"description":"Highlight mode (default: wireframe)","enum":["wireframe","visibility"],"type":"string"},"name":{"description":"Object name","type":"string"},"uuid":{"description":"Object UUID","type":"string"}},"type":"object"},"name":"highlight_object"},{"description":"Execute arbitrary JavaScript with access to scene, renderer, camera. Returns the result. Runtime only (lost on reload). If the code mutates scene state, ASK the user first: runtime preview or persistent code change?\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"code":{"description":"JavaScript code. Available vars: scene, renderer, camera, gl. Use return for results.","type":"string"}},"required":["code"],"type":"object"},"name":"run_js"},{"description":"Get detailed performance analysis: draw calls, triangles, instanced meshes, object counts by type","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"performance_snapshot"},{"description":"Inspect an InstancedMesh: count, max instances, geometry, sample transforms, custom attributes, instance colors","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"InstancedMesh name","type":"string"},"sampleCount":{"description":"Number of instances to sample (default: 5, max: 20)","type":"number"},"startIndex":{"description":"First instance index to sample (default: 0)","type":"number"},"uuid":{"description":"InstancedMesh UUID","type":"string"}},"type":"object"},"name":"instanced_mesh_details"},{"description":"Modify InstancedMesh properties: count, visibility, frustumCulled — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"count":{"description":"Number of visible instances","type":"number"},"frustumCulled":{"description":"Enable/disable frustum culling","type":"boolean"},"name":{"description":"InstancedMesh name","type":"string"},"uuid":{"description":"InstancedMesh UUID","type":"string"},"visible":{"description":"Show/hide entire mesh","type":"boolean"}},"type":"object"},"name":"set_instanced_mesh"},{"description":"Get active camera properties: type, position, FOV, near/far, aspect","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"camera_details"},{"description":"Modify camera: position, rotation, FOV, near/far, zoom — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"aspect":{"description":"Aspect ratio (PerspectiveCamera)","type":"number"},"bottom":{"description":"Bottom plane (OrthographicCamera)","type":"number"},"far":{"description":"Far clipping plane","type":"number"},"fov":{"description":"Field of view (PerspectiveCamera)","type":"number"},"left":{"description":"Left plane (OrthographicCamera)","type":"number"},"near":{"description":"Near clipping plane","type":"number"},"position":{"description":"[x, y, z]","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"right":{"description":"Right plane (OrthographicCamera)","type":"number"},"rotation":{"description":"[x, y, z] in radians","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"top":{"description":"Top plane (OrthographicCamera)","type":"number"},"zoom":{"description":"Zoom factor","type":"number"}},"type":"object"},"name":"set_camera"},{"description":"Get scene fog settings: type (Fog/FogExp2), color, near/far or density","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"fog_details"},{"description":"Modify scene fog: color, near/far (Fog) or density (FogExp2), background color — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"background":{"description":"Scene background color (#RRGGBB)","type":"string"},"color":{"description":"Fog color (#RRGGBB)","type":"string"},"density":{"description":"Fog density (FogExp2 type)","type":"number"},"far":{"description":"Fog far distance (Fog type)","type":"number"},"near":{"description":"Fog near distance (Fog type)","type":"number"}},"type":"object"},"name":"set_fog"},{"description":"Get renderer configuration: toneMapping, exposure, colorSpace, shadowMap, pixelRatio","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"renderer_settings"},{"description":"Modify renderer: toneMapping, exposure, colorSpace, shadows — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"localClippingEnabled":{"description":"Enable local clipping planes","type":"boolean"},"outputColorSpace":{"description":"Output color space (srgb, srgb-linear)","type":"string"},"pixelRatio":{"description":"Device pixel ratio","type":"number"},"shadowMapEnabled":{"description":"Enable shadow mapping","type":"boolean"},"shadowMapType":{"description":"Shadow map type (0=Basic, 1=PCF, 2=PCFSoft, 3=VSM)","type":"number"},"sortObjects":{"description":"Sort objects before rendering","type":"boolean"},"toneMapping":{"description":"Tone mapping algorithm (0-7)","type":"number"},"toneMappingExposure":{"description":"Exposure level","type":"number"}},"type":"object"},"name":"set_renderer"},{"description":"List all AnimationMixers, their actions, clips, weights, and playback state","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"animation_details"},{"description":"Control animation: mixer timeScale, action play/stop/pause/weight. Runtime only — for testing.\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"actionPaused":{"description":"Pause/unpause action","type":"boolean"},"actionTimeScale":{"description":"Action time scale","type":"number"},"actionWeight":{"description":"Action weight (0-1)","type":"number"},"clipName":{"description":"Target action by clip name","type":"string"},"mixerIndex":{"description":"Mixer index (default: 0)","type":"number"},"play":{"description":"Play the action","type":"boolean"},"stop":{"description":"Stop the action","type":"boolean"},"time":{"description":"Mixer current time","type":"number"},"timeScale":{"description":"Mixer global time scale","type":"number"}},"type":"object"},"name":"set_animation"},{"description":"List all skeletons/bones from SkinnedMesh objects in the scene","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"skeleton_details"},{"description":"Inspect geometry: vertices, attributes, indices, bounding box, morph attributes","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Object name (owning mesh)","type":"string"},"uuid":{"description":"Object UUID (owning mesh)","type":"string"}},"type":"object"},"name":"geometry_details"},{"description":"List all meshes with morph targets, their target names and current influence values","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"morph_targets"},{"description":"Set morph target influence on a mesh — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"index":{"description":"Morph target index","type":"number"},"influence":{"description":"Influence value (0-1)","type":"number"},"name":{"description":"Mesh name","type":"string"},"targetName":{"description":"Morph target name (from dictionary)","type":"string"},"uuid":{"description":"Mesh UUID","type":"string"}},"required":["influence"],"type":"object"},"name":"set_morph_target"},{"description":"Cast a ray from camera through screen coordinates and return hit objects","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"maxHits":{"description":"Maximum hits to return (default: 10)","type":"number"},"x":{"description":"Normalized device X coordinate (-1 to 1, 0 = center)","type":"number"},"y":{"description":"Normalized device Y coordinate (-1 to 1, 0 = center)","type":"number"}},"required":["x","y"],"type":"object"},"name":"raycast"},{"description":"Show camera layer mask and objects with non-default layer assignments","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"layer_details"},{"description":"Set layers on an object or camera — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"enabled":{"description":"Enable or disable the layer","type":"boolean"},"layer":{"description":"Layer number (0-31) to enable/disable","type":"number"},"mask":{"description":"Set layer mask directly (bitmask)","type":"number"},"name":{"description":"Object name","type":"string"},"target":{"description":"\"camera\" to target the camera","type":"string"},"uuid":{"description":"Object UUID","type":"string"}},"type":"object"},"name":"set_layers"},{"description":"Add a visual debug helper to a scene object. Types: box, axes, skeleton, arrow, grid, polar_grid, camera, directional_light, spot_light, point_light, hemisphere_light, plane\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"color":{"description":"Color as hex number (default: 0x00ff00)","type":"number"},"direction":{"description":"[x, y, z] direction for ArrowHelper/PlaneHelper","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"divisions":{"description":"Grid divisions (GridHelper, default: 10)","type":"number"},"length":{"description":"Arrow length (ArrowHelper, default: 1)","type":"number"},"origin":{"description":"[x, y, z] origin for ArrowHelper","items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"size":{"description":"Size for AxesHelper/GridHelper/LightHelpers (default: 1)","type":"number"},"target":{"description":"Target object name","type":"string"},"targetUuid":{"description":"Target object UUID","type":"string"},"type":{"description":"Helper type (default: box)","enum":["box","axes","skeleton","arrow","grid","polar_grid","camera","directional_light","spot_light","point_light","hemisphere_light","plane"],"type":"string"}},"type":"object"},"name":"add_helper"},{"description":"Remove a previously added debug helper\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"helperId":{"description":"Helper ID returned by add_helper","type":"string"}},"required":["helperId"],"type":"object"},"name":"remove_helper"},{"description":"Modify texture properties: wrap, filter, anisotropy, repeat, offset, colorSpace — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"anisotropy":{"description":"Anisotropic filtering level (1-16)","type":"number"},"colorSpace":{"description":"Color space (srgb, srgb-linear)","type":"string"},"flipY":{"description":"Flip texture vertically","type":"boolean"},"magFilter":{"description":"Mag filter (1003=Nearest, 1006=Linear)","type":"number"},"minFilter":{"description":"Min filter (1003=Nearest, 1006=Linear, 1008=LinearMipmapLinear)","type":"number"},"name":{"description":"Texture name","type":"string"},"offset":{"description":"[x, y] offset","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"repeat":{"description":"[x, y] repeat","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"rotation":{"description":"Rotation in radians","type":"number"},"uuid":{"description":"Texture UUID","type":"string"},"wrapS":{"description":"Wrap S mode (1000=Repeat, 1001=ClampToEdge, 1002=Mirrored)","type":"number"},"wrapT":{"description":"Wrap T mode","type":"number"}},"type":"object"},"name":"set_texture"},{"description":"Inspect shadow maps: global settings, per-light shadow config (bias, mapSize, camera frustum), cast/receive objects","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"shadow_details"},{"description":"Modify shadow settings — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?\n\nRuntime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"bias":{"description":"Shadow bias (light only, e.g. -0.0001)","type":"number"},"blurSamples":{"description":"Shadow blur samples (light only)","type":"number"},"cameraBottom":{"description":"Shadow camera bottom (DirectionalLight)","type":"number"},"cameraFar":{"description":"Shadow camera far plane","type":"number"},"cameraLeft":{"description":"Shadow camera left (DirectionalLight)","type":"number"},"cameraNear":{"description":"Shadow camera near plane","type":"number"},"cameraRight":{"description":"Shadow camera right (DirectionalLight)","type":"number"},"cameraTop":{"description":"Shadow camera top (DirectionalLight)","type":"number"},"castShadow":{"description":"Enable/disable shadow casting","type":"boolean"},"mapSize":{"description":"[width, height] shadow map resolution","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"name":{"description":"Object/light name","type":"string"},"normalBias":{"description":"Shadow normal bias (light only)","type":"number"},"radius":{"description":"Shadow blur radius (light only)","type":"number"},"receiveShadow":{"description":"Enable/disable shadow receiving","type":"boolean"},"uuid":{"description":"Object/light UUID","type":"string"}},"type":"object"},"name":"set_shadow"},{"description":"Inspect scene background, environment map (IBL), color management, backgroundBlurriness/Intensity","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"scene_background"},{"description":"Search scene objects by type, material, visibility, name pattern, or custom property. Returns matching objects with details.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"hasGeometry":{"description":"Filter objects with/without geometry","type":"boolean"},"limit":{"description":"Max results (default: 50, max: 200)","type":"number"},"material":{"description":"Material name or type to filter by","type":"string"},"minChildren":{"description":"Minimum number of children","type":"number"},"namePattern":{"description":"Regex pattern to match object names","type":"string"},"property":{"description":"Custom property name to check on the object","type":"string"},"type":{"description":"Object type: Mesh, Group, InstancedMesh, Light, etc.","type":"string"},"value":{"description":"Expected value for the custom property"},"visible":{"description":"Filter by visibility","type":"boolean"}},"type":"object"},"name":"find_objects"},{"description":"Detailed GPU memory analysis: geometry buffers, texture VRAM, instance data, top textures by size","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"memory_stats"},{"description":"Find potential memory leaks: orphaned geometries/textures not in scene but tracked by renderer, hidden objects with geometry","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"dispose_check"},{"description":"Toggle wireframe on all materials or a specific object. Runtime only — for visual debugging.\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"enabled":{"description":"true=wireframe on, false=restore original, omit=toggle","type":"boolean"},"name":{"description":"Object name (omit for whole scene)","type":"string"},"uuid":{"description":"Object UUID","type":"string"}},"type":"object"},"name":"toggle_wireframe"},{"description":"Show/hide axis-aligned bounding boxes for scene objects. Runtime only — for debugging frustum culling and object bounds.\n\nDebug only — page reload will reset. No code changes needed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"clear":{"description":"Remove all bounding boxes","type":"boolean"},"color":{"description":"Box color as hex (default: 0x00ff00)","type":"number"},"enabled":{"description":"true=show (default), false=remove all","type":"boolean"},"limit":{"description":"Max boxes to add (default: 50)","type":"number"},"name":{"description":"Target object name (omit for all meshes)","type":"string"},"onlyVisible":{"description":"Only visible objects (default: true)","type":"boolean"},"recursive":{"description":"Include children of target","type":"boolean"},"uuid":{"description":"Target object UUID","type":"string"}},"type":"object"},"name":"bounding_boxes"},{"description":"Inspect environment maps: scene.environment, scene.background, per-material envMap, IBL settings","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"env_map_details"},{"description":"Compare scene state over time. First call saves a snapshot, second call shows what changed (added/removed/modified objects, transforms, materials, lights).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"action":{"description":"snapshot=save state, diff=compare with saved, auto=snapshot if none saved, diff if exists (default: auto)","enum":["snapshot","diff","auto"],"type":"string"}},"type":"object"},"name":"scene_diff"},{"description":"List post-processing passes from EffectComposer: render passes, shader passes, effects (bloom, SSAO, etc.)","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"postprocessing_list"},{"description":"Convert a GLTF/GLB file to a ready-to-use React Three Fiber component (like gltfjsx)","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"filePath":{"description":"Absolute or relative path to the .glb or .gltf file","type":"string"},"preload":{"description":"Add useGLTF.preload() call (default: true)","type":"boolean"},"typescript":{"description":"Generate TypeScript (default: true)","type":"boolean"}},"required":["filePath"],"type":"object"},"name":"gltf_to_r3f"},{"description":"Capture a screenshot of the current Three.js scene","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"height":{"description":"Height in pixels","type":"number"},"width":{"description":"Width in pixels","type":"number"}},"type":"object"},"name":"take_screenshot"},{"description":"Check bridge connection and proxy status","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"bridge_status"},{"description":"Change the dev server port the proxy forwards to","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"port":{"description":"The dev server port (e.g. 3000, 5173, 8080)","type":"number"}},"required":["port"],"type":"object"},"name":"set_dev_port"}]}}}
