Render project
render_projectRenders a Kdenlive project to a local video file using an installed preset and validates the result with ffprobe.
Instructions
Render a Kdenlive project to a new local file with an installed Kdenlive preset (kdenlive --render, or MLT's melt: see engine), then validate the output with ffprobe. Blocks until the render ends or timeout_seconds elapses. Never modifies the project or its media. Refuses an existing output unless overwrite=true (the old file is replaced only after a successful, validated render), unknown presets, and projects with missing media unless allow_missing_media=true. Renders the file on disk, not unsaved changes in a running 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>",
"output": "<output>"
},
"name": "render_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a .kdenlive project file on this machine. | |
| engine | No | 'kdenlive' runs kdenlive --render (Kdenlive 24.02+); 'melt' renders with MLT directly using the preset's arguments (not Kdenlive's own render path); 'auto' uses Kdenlive when it can, and melt for older Kdenlive or projects with subtitles. | auto |
| output | Yes | Absolute path of the file to create. | |
| preset | No | Kdenlive preset name (see list_render_presets). | MP4-H264/AAC |
| overwrite | No | Replace an existing output file. | |
| timeout_seconds | No | Stop the render after this. | |
| allow_missing_media | No | Render even if media files are missing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| notes | No | ||
| state | Yes | ||
| engine | No | 'kdenlive' (kdenlive --render) or 'melt' (MLT directly, see notes). | kdenlive |
| output | Yes | ||
| preset | Yes | ||
| project | Yes | ||
| log_tail | No | ||
| sequence | Yes | ||
| warnings | No | ||
| exit_code | No | ||
| validation | No | ffprobe check of the produced file (separate from completion). | |
| project_sha256 | Yes | ||
| elapsed_seconds | No | ||
| process_completed | Yes | The render process exited with status 0. |