Split layer
split_layerSplits an After Effects layer at a chosen time so the original ends there and a duplicate starts above, returning both resulting layers.
Instructions
Split a layer at a time (like Edit > Split Layer): the original ends at the time, a duplicate above it starts there. Returns both parts.
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": {
"layer": "<layer>"
},
"name": "split_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Split time (default current comp time). Must be inside the layer. | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| newName | No | Name for the second part. |