add_transition
Add a single timeline transition between adjacent shots without replacing the whole transition list.
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": {
"workspaceId": "<workspaceId>",
"editId": "<editId>",
"type": "<type>",
"duration": "<duration>",
"startTime": "<startTime>"
},
"name": "add_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional stable transition ID | |
| type | Yes | FFmpeg xfade transition name, e.g. fade, dissolve, wipeleft, slideleft | |
| editId | Yes | The edit ID | |
| duration | Yes | Transition overlap duration in seconds | |
| toShotId | No | Incoming shot ID | |
| startTime | Yes | Nominal boundary time in seconds | |
| boundaryId | No | Boundary ID in the form fromShotId->toShotId | |
| fromShotId | No | Outgoing shot ID | |
| workspaceId | Yes | The workspace ID | |
| replaceExistingBoundary | No | Replace existing transition for the same boundaryId/fromShotId/toShotId |