add_shape_layer
Add a shape layer to an After Effects composition. Specify shape type, size, position, fill, stroke, and point count for polygons or stars.
Instructions
Add a shape layer to a composition
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_shape_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name | |
| size | No | ||
| shape | No | Shape type | |
| compId | No | ||
| points | No | Number of points for polygon/star | |
| compName | No | ||
| position | No | ||
| fillColor | No | Fill color (0-1 range) | |
| innerRadius | No | Inner radius for star | |
| outerRadius | No | Outer radius for polygon/star | |
| strokeColor | No | Stroke color (0-1 range) | |
| strokeWidth | No |