ae_executeCommand
Runs any After Effects menu command by name or numeric ID on the current selection; select target layers first so the action applies to the intended items.
Instructions
After Effects: run ANY menu command by name ("Create Shapes from Vector Layer", "Convert Audio to Keyframes", "Drop Shadow" layer style, "Scene Edit Detection", script/panel names under Window...) or numeric command id. Acts on the current selection — use ae_selectLayers first.
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": {
"command": "<command>"
},
"name": "ae_executeCommand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | Layer names or 1-based indexes. | |
| command | Yes | ||
| compositionName | No | Comp name; omit to use the active comp. |