Add shape layer
ae_add_shape_layerAdd a filled rectangle or ellipse shape layer to an After Effects composition; set comp, size, position, and RGB fill color.
Instructions
Add a shape layer containing a filled rectangle or ellipse.
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": "ae_add_shape_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or id. Omit to use the active composition. | |
| name | No | ||
| size | No | [width, height] in pixels. | |
| shape | No | rectangle | |
| position | No | [x, y] in pixels. Defaults to comp center. | |
| fillColor | No | RGB color, each channel 0-1, e.g. [1, 0.5, 0]. |