set_keyframe_advanced
Set keyframes in After Effects with precise control over temporal and spatial interpolation for smooth animations.
Instructions
Set a keyframe with interpolation options
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>",
"time": "<time>",
"value": "<value>"
},
"name": "set_keyframe_advanced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path (e.g., 'Transform.Position', 'Transform.Scale') | |
| time | Yes | Time in seconds | |
| value | Yes | Value for the keyframe (number or array depending on property) | |
| interpolation | No |