add_solid_layer
Add a solid color layer to an After Effects composition for creating backgrounds, overlays, or color fills. New layers appear on top by default.
Instructions
Add a solid color layer to a composition. Note: New layers are added on TOP (Layer 1). For backgrounds, create them last or use reorder_layers.
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_solid_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| name | No | Name of the layer | Solid |
| color | No | RGB color values (0-1) | |
| width | No | Width in pixels (defaults to comp width) | |
| height | No | Height in pixels (defaults to comp height) |