Split clip
split_clipCuts a clip at a timeline frame into two adjacent clips without rippling or overwriting, writing the edited project copy to a specified destination.
Instructions
Cut a clip at timeline frame at into two adjacent clips (razor). Positions are frames at the project rate; nothing ripples and nothing is overwritten (overlaps fail). A clip grouped with its audio/video counterpart is edited together with it. The result is written to destination with the save_project_copy rules.
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>",
"clip": "<clip>",
"revision": "<revision>",
"at": "<at>",
"destination": "<destination>"
},
"name": "split_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| clip | Yes | Clip ref from get_timeline, '<track>@<start>' (e.g. 'V1@90'). It changes when the clip moves: read the timeline again after an edit. | |
| path | Yes | Absolute path of a .kdenlive project file on this machine. | |
| revision | Yes | sha256 of the project file (file.sha256 from get_timeline) that the clip ref comes from; the edit is refused if the file changed since. | |
| sequence | No | Sequence uuid or name; default: active sequence. | |
| overwrite | No | Allow replacing an existing destination file. | |
| destination | Yes | Absolute path of the .kdenlive file to write (the source by default is never modified; see save_project_copy for the overwrite rules). | |
| expected_sha256 | No | Required to write over the source: its sha256 as last read. Tools that take `revision` use it when this is omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | No | ||
| media | No | ||
| saved | Yes | ||
| title | No | ||
| track | No | ||
| relink | No | ||
| effects | No | ||
| markers | No | ||
| timeline | No | ||
| subtitles | No |