List masks
list_masksList all masks on a layer with index, name, mode, opacity, feather, and path details to inspect or debug After Effects mask setups. Set detail=true to include path vertices.
Instructions
List a layer's masks: index, name, mode, inverted, feather, opacity, expansion, vertex count, closed, locked, color, motion blur. detail=true adds path vertices.
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": {
"layer": "<layer>"
},
"name": "list_masks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| detail | No | Include mask path vertices/tangents. |