update_clip
Updates clip settings in a CapCut draft, including duration, start time, volume, speed, position, text, and transitions, to adjust timeline edits.
Instructions
Изменить параметры клипа. changes — словарь, например {"duration": 4}, {"start": 2.5}, {"volume": 0.3}, {"text": "Новый текст"}, {"source_start": 10}, {"speed": 1.5}, {"y": 0.8, "size": 12}, {"transition": null}. Допустимые ключи: duration, start (не для main), source_start, volume, speed, scale, x, y, rotation, opacity, fade_in, fade_out, transition, intro, outro, text, size, color, bold, italic, font, background_color, outline_color.
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": {
"draft": "<draft>",
"clip_id": "<clip_id>",
"changes": "<changes>"
},
"name": "update_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| force | No | ||
| changes | Yes | ||
| clip_id | Yes |