delete_mask
Remove a mask from a specific layer in an After Effects composition by providing composition ID, layer index, and mask index.
Instructions
Delete a mask from 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>",
"maskIndex": "<maskIndex>"
},
"name": "delete_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| maskIndex | Yes | Index of the mask to delete |