add_shape_layer
Add a rectangle, ellipse, polygon, star, or custom shape layer to an After Effects composition and set its size, color, stroke, position, and opacity.
Instructions
Add a shape layer to a composition with customizable properties
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>"
},
"name": "add_shape_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the layer | Shape Layer |
| compId | Yes | ID of the composition | |
| shapeType | No | Type of shape to create | rectangle |
| properties | No | Shape properties |