add_rectangular_mask
Add a rectangular mask to a layer in Adobe After Effects to define visibility areas, crop content, or create shape-based effects.
Instructions
Add a rectangular mask 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>",
"bounds": "<bounds>"
},
"name": "add_rectangular_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| name | No | Name for the mask | Rectangle Mask |
| bounds | Yes | ||
| roundness | No | Corner roundness |