Duplicate effect
duplicate_effectCopy an effect on the same layer, including values, keyframes, and expressions. Optionally rename the copy or generate multiple copies.
Instructions
Duplicate an effect on the same layer (with its values, keyframes and expressions). Optionally rename the copy or make several copies.
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>",
"effect": "<effect>"
},
"name": "duplicate_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| count | No | Number of copies (default 1, max 50). | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| effect | Yes | Effect on the layer: 1-based index in the Effects stack, effect name (as renamed), or matchName (e.g. 'ADBE Glo2'). | |
| newName | No | Name for the copy (numbered when count > 1). |