clip_add
Places one media pool clip on a timeline at a given record frame and track, with optional source range and video/audio selection. Use it to insert a specific clip at an exact timeline position.
Instructions
Place one media pool clip on the timeline at a given record frame and track (AppendToTimeline with recordFrame).
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>"
},
"name": "clip_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Media pool clip id, exact clip name, or file path | |
| 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 | No | Absolute timeline frame where the clip starts | |
| 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 |