Add a mesh
bb_add_meshAdd a custom mesh to a Blockbench model by defining vertices and faces, with optional UVs and textures for detailed geometry.
Instructions
Create a free-form mesh. vertices is a list of [x,y,z] (or a {key:[x,y,z]} map). faces is a list where each face is either [i0,i1,i2] indices into vertices, or {vertices:[i..], uv:[[u,v]..], texture}. UVs are stored per vertex.
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": {
"vertices": "<vertices>",
"faces": "<faces>"
},
"name": "bb_add_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| faces | Yes | ||
| origin | No | ||
| parent | No | ||
| texture | No | ||
| rotation | No | ||
| vertices | Yes |