Project (write)
project_writeManage DaVinci Resolve project state: create, load, save, rename, export, archive, and configure projects/settings, with every write verified by read-back.
Instructions
Change project state; may overwrite current values. Every change is read back from Resolve (receipt.verified=false means it did not take). op.action (params; * = required):
apply_settings_preset(name*): Apply a settings preset to the current project (saved project only).
archive_project(name*, path*, with_stills_and_luts, archive_src_media, archive_render_cache, archive_proxy_media, force): Archive a project (broken by script on 21.x; needs force=true).
close_project(save_first, discard_untitled): Close the current project (saved first by default).
create_folder(name*): Create a project folder in the current database folder.
create_project(name*, media_location_path, discard_untitled): Create a project and make it current (saves the current one first).
export_project(name*, path*, with_stills_and_luts): Export a project of the current folder to a .drp file.
export_settings_preset(name*, path*): Export a project settings preset to a file.
goto_folder(to*): Go to the root or the parent project folder.
import_project(path*, name): Import a .drp project file into the current folder.
import_settings_preset(path*, name): Import a project settings preset file.
load_project(name*, discard_untitled): Load a project from the current folder (saves the current one first).
open_folder(name*): Enter a sub-folder of the current project folder.
rename_project(new_name*): Rename the current project.
restore_project(path*, name): Restore a project from an archive (.dra folder) into the current folder.
save_project(): Save the current project (refused for 'Untitled Project').
save_settings_preset(name*): Save the current project settings as a new preset.
set_database(database*, discard_untitled): Switch the current database (DbType, DbName, optional IpAddress).
set_settings(settings*): Set project settings one key at a time, verified by read-back.
update_settings_preset(name*): Overwrite a settings preset with the current project settings. Calls known in advance (a sequence, the same change on several items): ONE batch_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | {action, ...params}. Parameters per action: see the description or this server's describe_action tool. | |
| dry_run | No | true: return the planned effect, change nothing. | |
| snapshot | No | true: back up the timeline/project first; omitted: server policy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| plan | No | ||
| status | Yes | ||
| receipt | No |