filter_add
Attach a video or audio effect to a specific clip on a track by specifying track, clip index, filter type, and optional parameters.
Instructions
Attach a video/audio effect to a timeline clip.
Args: track_id: Track containing the clip. clip_index: 0-based clip index on that track. filter_type: Filter name (e.g. blur, brightness, frei0r.opacity, volume). Run filter_list_available for all options. params: 'key=value' parameter strings (e.g. ['radius=5.0', 'opacity=0.8']).
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": {
"track_id": "<track_id>",
"clip_index": "<clip_index>",
"filter_type": "<filter_type>"
},
"name": "filter_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| track_id | Yes | ||
| clip_index | Yes | ||
| filter_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||