capcut_add_audio
Adds an audio clip to a CapCut draft at a specified start time on a chosen track, creating a new track when none is given. Use it to place music, voiceover, or sound effects on the timeline.
Instructions
Add an audio clip at a time on a track.
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>",
"file": "<file>",
"atSec": "<atSec>"
},
"name": "capcut_add_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| posX | No | ||
| posY | No | ||
| atSec | Yes | start time on the timeline, seconds | |
| draft | Yes | ||
| scale | No | ||
| speed | No | ||
| durSec | No | duration (default: full media length or 5s for images) | |
| volume | No | ||
| opacity | No | ||
| rotation | No | ||
| blendMode | No | ||
| trackIndex | No | target track (index in the tracks list); a new track is made if omitted | |
| srcStartSec | No | in-point inside the source file, seconds | |
| trackRenderIndex | No | layer order; higher = on top |