Add title
add_titleAdds an editable text title clip to a Kdenlive video track with configurable text, font, position, color, and duration, then writes the project to a destination file.
Instructions
Create a text title (an editable Kdenlive title clip, not an image) and place it on a video track, usually one above the footage (add_track). Unicode and several lines (\n) are kept. Position: align x vertical presets inside 5 % margins, or the box's top-left x, y in pixels. The font must be installed (checked with fontconfig); font defaults to an installed sans font. The result gives the bin id, so insert_clip can place the same title again. 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>",
"text": "<text>",
"track": "<track>",
"start": "<start>",
"destination": "<destination>"
},
"name": "add_title"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| font | No | ||
| path | Yes | Absolute path of a .kdenlive project file on this machine. | |
| text | Yes | Title text; \n starts a new line. | |
| align | No | center | |
| color | No | #RRGGBB or #RRGGBBAA. | #FFFFFF |
| start | Yes | Timeline frame. | |
| track | Yes | Video track label, e.g. V2. | |
| italic | No | ||
| outline | No | Outline width, pixels. | |
| duration | No | ||
| sequence | No | Sequence uuid or name; default: active sequence. | |
| vertical | No | center | |
| font_size | No | ||
| 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). | |
| outline_color | No | #RRGGBB or #RRGGBBAA. | #000000 |
| 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 |