add_property_keyframe
Adds or updates a keyframe on an After Effects layer property at a specified time, letting AI assistants animate Position, Scale, Opacity, Rotation, or effects.
Instructions
Adds or updates a keyframe on a layer property at a specified time.
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_name": "<property_name>",
"time": "<time>",
"value": "<value>"
},
"name": "add_property_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time in seconds for the keyframe. | |
| value | Yes | Value at keyframe (number or array). | |
| layer_name | No | Name of the layer. | |
| layer_index | No | 1-based index of the layer. | |
| property_name | Yes | Property name (e.g. 'Position', 'Scale', 'Opacity', 'Rotation'). | |
| composition_id | No | Optional composition item ID. | |
| property_group | No | 'Transform' or effect name. Default: 'Transform'. |