clip_overwrite
Overwrites a timeline range on a selected track with a clip: overlapping items are removed first, then the clip is placed. Destructive use requires confirm: true after explicit user approval.
Instructions
Overwrite the timeline range [recordFrame, recordFrame+length) on a track with a clip: overlapping items on that track are removed first, then the clip is placed. DESTRUCTIVE: requires confirm: true after explicit user confirmation.
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": {
"clip": "<clip>",
"recordFrame": "<recordFrame>",
"length": "<length>"
},
"name": "clip_overwrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Media pool clip id, exact clip name, or file path | |
| length | Yes | ||
| 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. | |
| timeline | No | Timeline name or id (default: current timeline) | |
| mediaType | No | Only video or only audio of the clip | |
| sourceEnd | No | Source frame after the last one (exclusive) | |
| trackIndex | No | ||
| recordFrame | Yes | ||
| sourceStart | No | First source frame (inclusive) |
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 |