Add voxels
goxel_add_voxelsBatch-add or replace many individual voxels in one operation to insert script-computed geometry; use drawing primitives for shapes.
Instructions
Add (or replace) many individual voxels in a single operation. Best for geometry computed by a script. For shapes use goxel_draw_primitive.
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": {
"voxels": "<voxels>"
},
"name": "goxel_add_voxels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Default color for voxels without a color | |
| layer | No | Layer (created if the name does not exist) | |
| voxels | Yes |