Create project
create_projectCreate a new Kdenlive project file with one media clip at the timeline start, grouped video on V1 and audio on A1. Leave V2 free for overlays; replace existing files only with overwrite enabled.
Instructions
Create a new Kdenlive project file containing one media clip placed at the start of the timeline (video on V1, audio on A1, grouped). Like a new Kdenlive project, it has two video tracks (V1, V2) and two audio tracks (A1, A2): V2 is free for overlays and titles before any add_track. The project is modeled on Kdenlive 26.08 files and stays editable in Kdenlive. profile is an MLT profile name (see list_profiles) or 'auto' to use the standard profile matching the media. Refuses to replace an existing file unless overwrite=true; writes atomically and never modifies the media. Media inside the project's directory is stored with a relative path.
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": {
"destination": "<destination>",
"media_path": "<media_path>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | MLT profile name, or 'auto' to match the media. | auto |
| overwrite | No | Replace an existing project file. | |
| media_path | Yes | Absolute path of an audio or video file. | |
| destination | Yes | Absolute path of the new .kdenlive file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | ||
| notes | Yes | ||
| tracks | Yes | Tracks that received the clip, e.g. ['V1', 'A1']. | |
| profile | Yes | ||
| project | Yes | ||
| warnings | Yes | ||
| frame_rate | Yes | ||
| project_sha256 | Yes | ||
| kdenlive_format | Yes | ||
| media_reference | Yes | Path stored in the project (relative when possible). | |
| clip_duration_frames | Yes |