add_solid_layer
Add a solid color layer to an After Effects composition by specifying its name, RGB color (0-1 range), and optional dimensions, duration, start time, and composition.
Instructions
Add a solid color layer to a composition
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": {
"name": "<name>",
"color": "<color>"
},
"name": "add_solid_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name | |
| color | Yes | Color (0-1 range) | |
| width | No | Width (defaults to comp width) | |
| compId | No | Composition ID | |
| height | No | Height (defaults to comp height) | |
| compName | No | Composition name | |
| duration | No | Duration in seconds | |
| startTime | No | Start time in seconds |