modify_shape_path
Edit shape paths in After Effects compositions by updating vertices, tangents, and closure properties to adjust vector graphics and animations.
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 |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the shape layer | |
| pathPropertyPath | Yes | Property path to the shape path (e.g., 'Contents.Shape 1.Path 1') | |
| path | Yes | ||
| setKeyframe | No | Whether to set a keyframe at current time |