add_expression_control
Add expression controls to After Effects layers to create dynamic animations with adjustable parameters like sliders, points, angles, colors, and checkboxes.
Instructions
Add an expression control effect to a layer
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>",
"controlType": "<controlType>",
"name": "<name>"
},
"name": "add_expression_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| controlType | Yes | Type of expression control | |
| name | Yes | Name for the control | |
| value | No | Initial value for the control |