modify_mask_path
Updates the path vertices, tangents, and closed state of an existing mask in an After Effects composition, optionally setting a keyframe at the current time.
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 | |
| maskIndex | Yes | Index of the mask | |
| maskShape | Yes | New mask shape | |
| layerIndex | Yes | Index of the layer | |
| setKeyframe | No | Whether to set a keyframe at current time |