Check the assets the code loads
three_assetsResolve and validate three.js asset paths against dev-server/static-host rules to catch 404s, case-only breaks, missing decoders, oversized textures, and unused large files before deployment.
Instructions
Resolve every model, texture, HDR/EXR, KTX2, sound, font and video path in the code like the dev server and a static host do (public/ served at /, the page's folder, the source file's folder, loader.setPath): missing files (a 404 that GLTFLoader reports as "Unexpected token '<'"), paths that only work on a case-insensitive disk (macOS/Windows) and break on Linux hosts, Draco/KTX2 decoder folders that are not there, glTF files using Draco, meshopt or KTX2 when the code never sets that decoder up, textures above 4096, big uncompressed models, and large asset files nothing refers to. Read-only.
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": "three_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project folder, or a file or folder in it (relative to the server's folder; default: the project). | |
| limit | No |