Score a model for three.js
three_model_lintScores .glb and .gltf models for web use: checks geometry, materials, draw calls, texture memory, unsupported extensions, and size, and verifies archetypes like cars match expected parts and orientation.
Instructions
Score a .glb or .gltf for the web: geometry (normals, winding, degenerate triangles), materials, performance (triangles, draw calls, texture memory against web budgets), loading (extensions three.js does not support, decoders needed), size and origin; with archetype (an id or a name such as 'car' or 'helikopter') also whether it is what it should be: parts, pivots, wheel axes, size, direction. Read-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": "<file>"
},
"name": "three_model_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | .glb or .gltf file (relative to the project) | |
| path | No | Project folder, or a file or folder in it (relative to the server's folder; default: the project). | |
| detail | No | brief (capped, short) or full (everything); default brief | |
| archetype | No | ||
| max_triangles | No | ||
| max_draw_calls | No |