apply_animation_preset
Apply predefined animation presets to a composition layer's position, scale, rotation, or opacity to create common motion effects with configurable duration and start time.
Instructions
Apply predefined animation presets
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>",
"preset": "<preset>"
},
"name": "apply_animation_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| preset | Yes | Animation preset to apply | |
| duration | No | Animation duration in seconds | |
| startTime | No | Start time (defaults to current time) | |
| layerIndex | Yes | Index of the layer | |
| properties | No | Which properties to animate (defaults based on preset) |