Add transitions to every cut
add_transitions_to_all_cutsAdds the same transition to every cut on a track or track type, keeping existing transitions unless replacement is enabled, and can also crossfade linked audio at each video cut.
Instructions
Put the same transition on every cut of one track, or of every track of a type (default: all video tracks). With include_audio, also adds an audio crossfade on the linked audio tracks where they are cut at the same time. Unlike the single-cut tools, existing transitions are kept (reported in skipped_cuts) unless replace_existing is true. Gaps are not cuts. A cut that fails is reported in errors and the rest continue; an unknown transition name fails the whole call. Returns {cuts, added, skipped, failed, transitions, skipped_cuts, errors}. Each transition is {track_type, track_index, transition_index, transition_id, name, match_name, start, end, duration, cut_time, alignment, edge, from_clip, to_clip}: times in seconds of sequence time; edge is "cut" (between two adjacent clips), "clip_start" or "clip_end" (single-sided); alignment is center / start_at_cut / end_at_cut / offset for cuts; from_clip / to_clip are {clip_id, name, clip_index, start, end} of the outgoing / incoming clip (null on the missing side).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_transitions_to_all_cuts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact transition name, case-insensitive, for the scanned tracks. Default "Cross Dissolve" (video) / "Constant Power" (audio). | |
| duration | No | Transition duration in seconds, up to 60. Default 1. Snapped to whole frames. | |
| alignment | No | Where the transition sits on a cut: "center" (default; half before, half after the cut), "start_at_cut" (begins at the cut and plays over the incoming clip) or "end_at_cut" (ends at the cut and plays over the outgoing clip). At a clip edge with no adjacent clip the transition is single-sided and lies inside the clip whatever the alignment. | |
| audio_name | No | Audio transition used with include_audio. Default "Constant Power". | |
| track_type | No | Which kind of track to scan. Default "video". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | Only this 0-based track. Omit to scan every track of track_type. | |
| include_audio | No | Video scans only: also crossfade the linked audio at each video cut. Default false. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| audio_duration | No | Audio crossfade duration in seconds, up to 60. Default: same as duration. | |
| replace_existing | No | Replace transitions already on a cut. Default false (they are skipped). |