convert_keyframes_to_expression
Transform keyframed animation into expressions for Adobe After Effects, enabling dynamic control over layer properties without manual keyframing.
Instructions
Convert keyframed animation to an expression
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>"
},
"name": "convert_keyframes_to_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path | |
| expressionType | No | Type of expression to generate from keyframes | linear |
| customExpression | No | Custom expression template (for custom type) |