copy_keyframes
Copies keyframes from one layer property to another in After Effects, optionally shifting timing or reversing the order.
Instructions
Copy keyframes from one property to another
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>",
"sourceLayer": "<sourceLayer>",
"sourceProperty": "<sourceProperty>",
"targetLayer": "<targetLayer>",
"targetProperty": "<targetProperty>"
},
"name": "copy_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| timeOffset | No | Time offset in seconds | |
| sourceLayer | Yes | Source layer index | |
| targetLayer | Yes | Target layer index | |
| sourceProperty | Yes | Source property path | |
| targetProperty | Yes | Target property path | |
| reverseKeyframes | No | Reverse the keyframe order |