add_rectangular_mask
Add a rectangular mask to a specified layer using composition ID, layer index, and bounds; optionally set corner roundness and mask name.
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 |
|---|---|---|---|
| name | No | Name for the mask | Rectangle Mask |
| bounds | Yes | ||
| compId | Yes | ID of the composition | |
| roundness | No | Corner roundness | |
| layerIndex | Yes | Index of the layer |