ae_precompose_layers
Combine multiple layers into a new nested composition to simplify After Effects projects. Specify the source composition, layer names, and new comp name to precompose with selected attributes.
Instructions
Precompose a set of layers into a new nested 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": {
"comp_name": "<comp_name>",
"layer_names": "<layer_names>",
"new_comp_name": "<new_comp_name>"
},
"name": "ae_precompose_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp_name | Yes | Source composition name | |
| layer_names | Yes | Names of layers to precompose | |
| new_comp_name | Yes | Name for the new precomposition | |
| move_all_attributes | No | Move all attributes into new comp (true) or keep in parent (false) |