Export
goxel_exportExport a voxel scene to gox, vox, OBJ, glTF, PNG, or other formats; the file extension selects the format so models open in Blender or MagicaVoxel.
Instructions
Export the scene. Native formats: gox, vox, obj, txt, png (obj + mtl is the simplest choice for Blender; vox for MagicaVoxel). With Goxel's own exporters (needs the Goxel build with the bridge): gltf, glb, ply, qubicle, kv6, kvx, vxl, povray (gltf / glb also open in Blender). The format is deduced from the file extension when omitted.
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": {
"path": "<path>"
},
"name": "goxel_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination file relative to the workspace | |
| scale | No | .obj: size of one voxel in output units | |
| format | No | ||
| validate | No | ||
| overwrite | No | ||
| merge_layers | No | .vox: merge all layers into one model (default: one model per layer) |