clip_insert
Places a clip at a record frame on an empty track area; since ripple insert is unavailable, move later clips first or choose an empty track to make room.
Instructions
Place a clip at a record frame on a track that is empty there. The API has no ripple insert: to make room, move later clips first (clip_move) or use an empty 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": {
"clip": "<clip>",
"recordFrame": "<recordFrame>"
},
"name": "clip_insert"
}
}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 | 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 |