Apply transition
apply_transitionApply a named transition between two adjacent clips and commit the edit immediately, rejecting unknown transition names before changes are made.
Instructions
Deterministic edit: apply a named transition between two adjacent clips, committed immediately (the same operation as the editor's transition picker). type is one of ~170 names, e.g. fade, cross_dissolve, dip_to_black, slide_left, push_left, wipe_left, zoom_in, whip_pan, light_leak, glitch, zoom_blur, page_curl, crt_power_off. An unknown name is rejected with the reason. Both layer ids must exist in the project. object_match_cut and parallax_occlusion need face tracking and are refused here — ask autonomous_edit for those.
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": {
"project_id": "<project_id>",
"type": "<type>",
"to_layer_id": "<to_layer_id>"
},
"name": "apply_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Transition name. | |
| easing | No | Optional easing name. | |
| direction | No | Optional direction for directional transitions (e.g. left, right, up, down). | |
| project_id | Yes | Project whose committed scene is edited. | |
| to_layer_id | Yes | The incoming clip (the transition plays into it). | |
| duration_sec | No | Optional duration in seconds. | |
| from_layer_id | No | Optional outgoing clip. |