cavalry_create_primitive
Creates a basic geometric shape (ellipse, rectangle, star, etc.) with a built-in generator, simplifying scene setup in Cavalry.
Instructions
Create a basicShape with a generator pre-attached. Prefer this over create_layer + set_generator for primitives.
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": {
"generator": "<generator>"
},
"name": "cavalry_create_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the new shape | |
| generator | Yes | Primitive generator type |