render_export_timeline
Exports a DaVinci Resolve timeline using a preset: configure render settings, queue and render the job, then verify the output file exists with size and ffprobe metadata before reporting success.
Instructions
One-step export: configure from a preset, queue, render, wait (with progress notifications), then verify the output file (exists, size, ffprobe metadata). Never reports success without a verified file.
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": {
"outputDir": "<outputDir>",
"fileName": "<fileName>"
},
"name": "render_export_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| codec | No | Override codec (validated against GetRenderCodecs) | |
| width | No | ||
| format | No | Override render format (e.g. mp4, mov) — see render_get_settings | |
| height | No | ||
| markIn | No | ||
| preset | No | youtube_1080p | |
| markOut | No | ||
| quality | No | VideoQuality: 0 = auto, or bitrate in Kb/s, or Least/Low/Medium/High/Best | |
| fileName | Yes | File name without extension | |
| timeline | No | Timeline name or id (default: current timeline) | |
| frameRate | No | ||
| outputDir | Yes | Absolute local file path | |
| overwrite | No | ||
| background | No | Run in the background: returns a jobId immediately; collect the result with wait_for_job / get_job. | |
| exportAudio | No | ||
| exportVideo | 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 |