add_clip
Append a source video segment to a Shotcut timeline by specifying in/out seconds, enabling programmatic clip assembly for video edits.
Instructions
Append a span of a source video to the end of the timeline. in_s/out_s are seconds in the SOURCE file. Returns the clip's producer_id.
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": {
"project_name": "<project_name>",
"clip_path": "<clip_path>"
},
"name": "add_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_s | No | ||
| out_s | No | ||
| clip_path | Yes | ||
| project_name | Yes |