create_animation_curve
Create keyframe animations with custom easing curves on a layer property in a composition, optionally clearing existing keyframes first.
Instructions
Create an animation with custom curve
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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>",
"propertyPath": "<propertyPath>",
"keyframes": "<keyframes>"
},
"name": "create_animation_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| keyframes | Yes | Array of keyframes with easing | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path | |
| clearExisting | No | Clear existing keyframes first |