Start render job
start_renderStart rendering a Kdenlive project in the background and immediately return a job ID, so you can poll status or cancel without blocking.
Instructions
Start rendering a Kdenlive project in the background and return a job id immediately. Same checks and guarantees as render_project (preset, output, missing media, atomic publication after validation). Poll get_render_job for the state (queued, running, succeeded, failed, cancelled) and cancel with cancel_render_job. Jobs live in memory and are stopped when the server exits.
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": "start_render"
}
}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 |
|---|---|---|---|
| state | Yes | ||
| job_id | Yes | ||
| output | Yes | ||
| preset | Yes | ||
| result | No | Full result (validation, log tail) once the job has ended. | |
| project | Yes | ||
| progress | No | ||
| created_at | Yes | ||
| started_at | No | ||
| finished_at | No | ||
| progress_note | No | ||
| queue_position | No | 1 = next to start. | |
| elapsed_seconds | No | ||
| timeout_seconds | Yes | ||
| cancel_requested | No |