add_transition
Joins two adjacent clips on the same track with an overlap transition; the second clip moves earlier by the duration, and later clips shift with it to shorten the timeline.
Instructions
Join two adjacent clips on the same track with an overlap transition.
to_clip moves earlier by duration, and later clips on the track shift with it (total length shrinks).
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": {
"path": "<path>",
"from_clip": "<from_clip>",
"to_clip": "<to_clip>"
},
"name": "add_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| type | No | dissolve | |
| to_clip | Yes | ||
| duration | No | ||
| from_clip | Yes |