copy_effects
Clone an effect stack from a source layer to one or more destination layers, including parameter values, keyframes, and expressions; copy selected effects or clear existing effects first.
Instructions
Clone an effect stack from a source layer to one or more dest layers. For each effect it adds the effect by matchName, then copies every settable parameter value, its keyframes (full fidelity — interp/ease/spatial tangents), and any expressions. Copies ALL source effects by default; pass effects (names and/or 1-based indices) to copy a subset (in source order). clearExisting removes each dest layer's existing effects first (rejected when a dest is the source layer itself). Dest layers may live in another comp via destComp. CUSTOM_VALUE / ARB parameters (e.g. Curves curves, Colorama gradients) are NOT script-copyable — they are skipped and listed in skippedParams ("Effect > Param"). Returns { copiedTo:[{layer,index,effects,failed?}], effectsCopied, skippedParams, effectsNotFound? }.
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": {
"source": "<source>",
"dest": "<dest>"
},
"name": "copy_effects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Comp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp. | |
| dest | Yes | One or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers. | |
| source | Yes | ||
| effects | No | Effect names and/or 1-based indices to copy. Omit to copy every effect. | |
| destComp | No | Comp (name or { id: N }) for the dest layer(s) if different from the source comp. Defaults to the source comp. | |
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. | |
| clearExisting | No | Remove all existing effects on each dest layer before copying. Default false. |