Create solid layer
create_solidAdds a solid-color layer to an After Effects composition, sized and timed to the comp by default, with optional color, size, position, and duration overrides.
Instructions
Add a solid-color layer to a composition. Size defaults to the comp size, duration to the comp duration. Returns the new layer's description (index, id, transform...). For a full-frame adjustment layer use create_adjustment_layer.
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": "create_solid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Layer name (default 'Solid'). | |
| color | No | Fill color as '#RRGGBB' or [r,g,b] (default mid grey). | |
| index | No | Layer stack index to place the new layer at (1 = top). Default: top. | |
| width | No | Width in px (default comp width). | |
| height | No | Height in px (default comp height). | |
| inPoint | No | Comp time where the layer starts (moves the layer in time). Default 0. | |
| duration | No | Layer duration (default comp duration). | |
| position | No | Position [x, y] (or [x, y, z]) in comp pixels. Default: comp center. |