verge3d_compress_lzma
Compress Verge3D .gltf, .bin, or .glb files into LZMA .xz for useCompAssets / LOAD_COMP_ASSETS, or decompress existing .xz files.
Instructions
Compress a Verge3D .gltf, .bin, or .glb file into LZMA (.xz) format for use with Verge3D's useCompAssets / LOAD_COMP_ASSETS mode, or decompress an existing .xz file.
Args: input_path: Path to source file. output_path: Optional output path (defaults to <input_path>.xz or strips .xz when decompressing). decompress: Set True to decompress an .xz file instead of compressing.
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": {
"input_path": "<input_path>"
},
"name": "verge3d_compress_lzma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decompress | No | ||
| input_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |