add_solid_layer
Creates and adds a solid layer to an After Effects composition, letting you set its name, RGB color, width, height, duration, and pixel aspect ratio.
Instructions
Creates and adds a solid layer to the 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_solid_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the solid layer (default: 'Solid'). | |
| color | No | [R, G, B] color values between 0.0 and 1.0. Example: [1, 0, 0] for red. | |
| width | No | Width in pixels (defaults to comp width). | |
| height | No | Height in pixels (defaults to comp height). | |
| duration | No | Duration in seconds (defaults to comp duration). | |
| pixel_aspect | No | Pixel aspect ratio (default: 1.0). | |
| composition_id | No | Optional composition item ID. |