create_shape_from_path
Creates a shape layer from custom paths in After Effects, defining vertices, tangents, fill and stroke settings for each path.
Instructions
Create a shape layer from a custom 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>",
"paths": "<paths>"
},
"name": "create_shape_from_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the shape layer | Shape Path |
| paths | Yes | Array of paths to create | |
| compId | Yes | ID of the composition |