apply_expression_preset
Apply saved expression presets to After Effects properties to automate animation tasks and customize effects with specific parameters.
Instructions
Apply a saved expression preset to 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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>",
"propertyPath": "<propertyPath>",
"presetName": "<presetName>"
},
"name": "apply_expression_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| propertyPath | Yes | Property path | |
| presetName | Yes | Name of the preset to apply | |
| parameters | No | Parameter values to customize the preset |