modify_mask_path
Change the shape of an existing mask path in Adobe After Effects by updating its vertices and tangents for precise layer adjustments.
Instructions
Modify the path of an existing mask
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>",
"maskShape": "<maskShape>"
},
"name": "modify_mask_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| maskIndex | Yes | Index of the mask | |
| maskShape | Yes | New mask shape | |
| setKeyframe | No | Whether to set a keyframe at current time |