glb_optimizer_optimize
Shrink a GLB (up to 10 MB) for web or mobile: dedup, join draw calls, gentle simplify, textures to WebP at a max size, meshopt or Draco compression; before/after renders, size report and loader notes for three.js and Unity. Price: $0.20 USDC via x402, charged only on success. Part of GLB optimizer: Make a GLB small and fast for the web or mobile: dedup, instance, join, weld, simplify, resize and re-encode textures, meshopt or draco compression.
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": "glb_optimizer_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glb | No | Base64 GLB. | |
| glbUrl | No | ||
| preset | No | web | |
| compression | No | meshopt | |
| simplifyRatio | No | Target share of triangles to keep (0 = only the error bound decides). | |
| textureFormat | No | webp | |
| maxTextureSize | No |