get_mask_info
Retrieve mask details from a layer in an After Effects composition by specifying the composition ID and layer index, with an optional mask index.
Instructions
Get information about masks on 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>"
},
"name": "get_mask_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| maskIndex | No | Optional specific mask index | |
| layerIndex | Yes | Index of the layer |