apply_transition
Add a transition to a clip’s start, end, or both in a Premiere Pro timeline, with adjustable duration, position, alignment, and transition type based on available handles.
Instructions
Add a transition at a clip's start, end or both (default Cross Dissolve / Constant Power, 1 s, centered on the cut). Length is limited by available handles.
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": {
"trackType": "<trackType>",
"trackIndex": "<trackIndex>",
"clipIndex": "<clipIndex>"
},
"name": "apply_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Seconds (default 1) | |
| position | No | Default end | |
| alignment | No | center = across the cut; start = begins at the cut; end = ends at the cut | |
| clipIndex | Yes | Clip index on the track, 0-based from the left (see get_timeline_clips) | |
| trackType | Yes | Track type | |
| trackIndex | Yes | Track index, 0-based (V1 = 0, A1 = 0) | |
| transitionName | No | From get_effects_list kind videoTransitions/audioTransitions |