set_keyframe
Set a keyframe on an After Effects property at a specific time, accepting numeric, array, spatial coordinates, or string values.
Instructions
Set a keyframe on a property
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>",
"time": "<time>",
"value": "<value>"
},
"name": "set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time in seconds | |
| value | Yes | Property value: number, array of numbers (e.g. [540, 960]), {x,y,z?} object, or string | |
| compId | No | ||
| compName | No | ||
| property | Yes | Property name (e.g., "position", "scale", "opacity") | |
| layerName | No | ||
| layerIndex | No |