set_expression
Sets or clears an expression on an After Effects property, returning any expression error AE reports.
Instructions
Set (or clear with '') an expression on a property. Returns any expression error AE reports.
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": {
"layer": "<layer>",
"property": "<property>",
"expression": "<expression>"
},
"name": "set_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| layer | Yes | ||
| property | Yes | ||
| expression | Yes |