transition_add
Add a transition to the start or end of a timeline clip by specifying type, duration, and alignment, enabling video, audio, or subtitle edit effects.
Instructions
Add a transition at the start or end of a timeline item (TimelineItem.AddTransition, Resolve 21+). E.g. Cross Dissolve, Dip To Color Dissolve, Push, Slide, Zoom (fusion), Cross Fade +3 dB (audio). Needs media handles at the edit.
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": "transition_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Cross Dissolve | |
| itemId | No | Timeline item unique id (from timeline_get_clips) | |
| category | No | simple | |
| duration | No | Frames (default: Resolve decides) | |
| position | No | end | |
| timeline | No | Timeline name or id (default: current timeline) | |
| alignment | No | center | |
| itemIndex | No | 1-based position of the clip on the track (transitions are not counted) | |
| trackType | No | video | |
| trackIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |