add_part
Create an empty named part in a .vox model's body, then fill it with draw tools; use separate parts for distinct XML objects.
Instructions
Add an empty part to the body (one named object in the .vox file).
Use one part for the main body; separate parts only for pieces that are separate objects in the XML. Draw into it with the draw_* tools; its size follows its voxels.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "add_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Part name, for example 'body' or 'wheel_fl'. | |
| project | Yes | Project name, for example 'red_pickup'. |