audio_trim
Trim the head or tail of an audio timeline item to shorten or tighten clips in DaVinci Resolve. This destructive edit requires explicit confirmation before it changes the timeline.
Instructions
Trim an audio item's head/tail. Re-placement based (see clip_trim/clip_split): item-level audio adjustments are not carried over. DESTRUCTIVE: requires confirm: true after explicit user confirmation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audio_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Timeline item unique id (from timeline_get_clips) | |
| confirm | No | Destructive operation: must be true, and only after the user explicitly confirmed it. Without it the tool only explains what it would do. | |
| trimEnd | No | ||
| timeline | No | Timeline name or id (default: current timeline) | |
| itemIndex | No | 1-based position of the clip on the track (transitions are not counted) | |
| trackType | No | audio | |
| trimStart | No | ||
| trackIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |