Save project copy
save_project_copyWrite a verified copy of a Kdenlive project to a new .kdenlive file, rewriting relative media paths and refusing unsafe overwrites to prevent data loss.
Instructions
Write a verified copy of a Kdenlive project to another .kdenlive file, preserving all project data (unknown metadata included). Relative media paths are rewritten so they still work from the destination folder. Refuses to overwrite an existing file unless overwrite=true (a timestamped backup is kept), refuses to write over the source unless overwrite=true and expected_sha256 (from inspect_project) match, and refuses if the source changed since it was read or the destination is open in Kdenlive.
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>",
"destination": "<destination>"
},
"name": "save_project_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a .kdenlive project file on this machine. | |
| overwrite | No | Allow replacing an existing file. | |
| destination | Yes | Absolute path of the .kdenlive to write. | |
| expected_sha256 | No | Required to write over the source: its sha256 as last read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| backup | Yes | Copy of the replaced file, when one was replaced. | |
| sha256 | Yes | ||
| source | Yes | ||
| changes | Yes | Human-readable list of modifications applied. | |
| written | No | False when nothing changed and the destination already had this content: no write and no backup. | |
| warnings | Yes | ||
| side_files | No | Other files written next to the project (e.g. subtitles), with it. | |
| size_bytes | Yes | ||
| destination | Yes | ||
| rebased_paths | Yes | References rewritten for the new location. | |
| source_sha256 | Yes | Revision of the source that was edited. |