toggle_overlay
Show or hide an in-browser Three.js debug overlay with live FPS, draw calls, scene tree, materials, and lights; omit setting to toggle visibility.
Instructions
[DEBUG VISUAL] Temporary visual aid in the browser. Nothing to put in code. In-browser inspector panel: live FPS, draw calls, scene tree, materials, lights. Clicking a tree item highlights it.
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": "toggle_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | true=show, false=hide, omit=toggle |