modify_shape_path
Update an existing shape path in After Effects by setting vertices, in/out tangents, and closed state, with an option to add a keyframe for animation.
Instructions
Modify an existing shape path
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>",
"pathPropertyPath": "<pathPropertyPath>",
"path": "<path>"
},
"name": "modify_shape_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the shape layer | |
| setKeyframe | No | Whether to set a keyframe at current time | |
| pathPropertyPath | Yes | Property path to the shape path (e.g., 'Contents.Shape 1.Path 1') |