Delete keyframes
cavalry_delete_keyframesDelete keyframes from a Cavalry layer attribute at specified frames, or omit frames to remove all animation.
Instructions
Delete keyframes on an attribute at specific frames, or all of its animation when frames is omitted.
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": {
"layerId": "<layerId>",
"attrId": "<attrId>"
},
"name": "cavalry_delete_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attrId | Yes | Attribute path, e.g. "position.x", "rotation", "material.materialColor". | |
| frames | No | Frames to delete. Omit to remove all animation. | |
| layerId | Yes | Cavalry layer id, e.g. "basicShape#1". Use cavalry_list_layers to find ids. |