ae_mask
Create, edit, and animate layer masks, mask paths, and mask keyframes in After Effects for rotoscoping and shape morphing workflows.
Instructions
Manage layer masks, paths, and mask keyframes (rotoscoping/morphing). Actions: list, add, set, path_get, path_set, keyframes, remove.
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": {
"action": "<action>",
"layer": "<layer>"
},
"name": "ae_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| keys | No | ||
| mask | No | ||
| mode | No | ||
| name | No | ||
| color | No | ||
| layer | Yes | ||
| shape | No | ||
| action | Yes | ||
| atTime | No | ||
| locked | No | ||
| feather | No | ||
| opacity | No | ||
| inverted | No | ||
| property | No | ||
| expansion | No | ||
| rotoBezier | No | ||
| clearExisting | No |