ae_set_keyframes
Set keyframes on After Effects layer properties like Position, Scale, Rotation, or Opacity by specifying times and values.
Instructions
Set keyframes on a layer property. property uses path aliases: Transform/Position, Transform/Scale, Transform/Rotation, Transform/Opacity (or matchNames). keyframes: [{time: seconds, value: number|array}].
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": {
"property": "<property>",
"keyframes": "<keyframes>"
},
"name": "ae_set_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | e.g. "Transform/Position" or "Transform/Opacity" | |
| comp_name | No | Composition name. Prefer this over index. | |
| keyframes | Yes | ||
| comp_index | No | 1-based project item index if name is ambiguous. | |
| layer_name | No | Layer name (preferred). | |
| layer_index | No | 1-based layer index in the comp. |