Update effect
update_effectChange a clip effect's parameter values by index in a Kdenlive project and write the updated copy to a destination path; animated effects with keyframes are refused.
Instructions
Change parameters of the clip's effect at index; animated parameters (several keyframes) are refused. Video effects go on the video part of an audio/video pair. 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>",
"clip": "<clip>",
"revision": "<revision>",
"index": "<index>",
"params": "<params>",
"destination": "<destination>"
},
"name": "update_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Clip ref from get_timeline, '<track>@<start>' (e.g. 'V1@90'). It changes when the clip moves: read the timeline again after an edit. | |
| path | Yes | Absolute path of a .kdenlive project file on this machine. | |
| index | Yes | Position of the effect in the clip's `effects` (get_timeline). | |
| params | Yes | Parameter values by name (see list_effects for names, units, ranges). | |
| revision | Yes | sha256 of the project file (file.sha256 from get_timeline) that the clip ref comes from; the edit is refused if the file changed since. | |
| sequence | No | Sequence uuid or name; default: active sequence. | |
| 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). | |
| 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 |