cavalry_create_layer
Creates a new layer in a Cavalry scene by providing a layer type and name, adding elements like shapes, text, or assets for animation.
Instructions
Create a new layer in the Cavalry scene. Common layer types: basicShape, textShape, null, colorPlane, ellipse, rectangle, group, subMesh, linearGradient, cameraRig, pathfinder, duplicator, connectShape, noiseDeformer, meshDeformer, stagger, trail, spreadsheet, csvAsset, soundAsset, imageAsset, videoAsset, javaScriptUtility, javaScriptShape.
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": {
"layerType": "<layerType>",
"name": "<name>"
},
"name": "cavalry_create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the new layer | |
| layerType | Yes | The layer type ID, e.g. "textShape", "basicShape", "null" |