Apply an effect to several clips
apply_effect_to_clipsAdds one effect to multiple clips in a sequence in a single call, using an explicit clip list or all clips on selected video/audio tracks, with optional parameter values.
Instructions
Add the same effect to many clips of one sequence in one call. Give either clips (explicit list) or track_type (+ optional track_index) to take every clip on those tracks. Video effects go on video clips and audio effects on audio clips; clips of the other type are reported as skipped. Optionally set parameters on each new effect. A clip that fails does not stop the others. Returns effect, effect_type, clips (count), applied and one result per clip (ok, effect_index, parameter results or error).
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": {
"effect_name": "<effect_name>"
},
"name": "apply_effect_to_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | No | The clips to treat. Omit to use track_type / track_index. | |
| parameters | No | Parameter values to set on every new effect, each {param_name or param_index, value} (as set_effect_parameters). Omit to keep the defaults. | |
| track_type | No | With no `clips`: take all clips on tracks of this type. Default: the effect type. | |
| effect_name | Yes | Exact effect name, case-insensitive (see list_video_effects / list_audio_effects). | |
| effect_type | No | "video" or "audio" effect. Default: "video" unless the name only exists as an audio effect. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | With no `clips`: restrict to this 0-based track. Omit for all tracks of the type. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |