add_primitive
Add a primitive to a Cinema 4D scene, specifying type, position, and size.
Instructions
Add a primitive object to the Cinema 4D scene.
Args:
primitive_type: Type of primitive (cube, sphere, cone, cylinder, plane, etc.)
name: Optional name for the new object
position: Optional [x, y, z] position
size: Optional [x, y, z] size or dimensions
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": {
"primitive_type": "<primitive_type>"
},
"name": "add_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size | No | ||
| position | No | ||
| primitive_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |