create_animation_curve
Define custom animation curves in After Effects by setting keyframes with precise timing, values, and easing parameters for layer properties.
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 | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path | |
| keyframes | Yes | Array of keyframes with easing | |
| clearExisting | No | Clear existing keyframes first |