Needle Inspector Agent

Inject a single script to give AI agents full access to any Three.js scene — hierarchy, properties, and tools.

Files

Pinned version

Usage

await page.addScriptTag({ url: 'https://inspector.needle.tools/agent.js' });
await page.waitForFunction(() => window.__NEEDLE_INSPECTOR__?.ready);
const tools = await page.evaluate(() => window.__NEEDLE_INSPECTOR__.getTools());

Looking for a visual inspector instead? Try the Needle Inspector Chrome Extension.

Last updated: Apr 1, 2026, 01:49 PM