Import media
import_mediaImport files, folders, image sequences, file ranges, or .drb bins into a DaVinci Resolve media pool bin, with a dry-run plan first. Reports which items were skipped or already present.
Instructions
Import files, folders, image sequences, parts of files or a .drb bin into a bin of the media pool. Says which files were not imported, or were there already. Subtitle files (.srt) are added to the pool; drag them to the timeline by hand.
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": "import_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Files or folders to import | |
| folder | No | Bin handle, name, or path such as 'Master/Day 1'; 'root' or 'current' also work. | current |
| ranges | No | Parts of files: [{media, startFrame, endFrame}] | |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| bin_file | No | A .drb file (an exported bin) | |
| sequence | No | Image sequence: {FilePath: 'C:/x/shot.%04d.exr', StartIndex, EndIndex} | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. | |
| source_clips_path | No |