run_python
Execute custom Python code in DaVinci Resolve to access API features not covered by dedicated tools, ideal for one-off inspections.
Instructions
Run DaVinci Resolve scripting-API Python in the server process.
Prefer the real tools: they wrap known API footguns, echo context, and return structured results. Reach for this only where no tool fits — an API corner the catalog does not cover yet, or a one-off inspection.
The namespace has resolve, project_manager, project and timeline pre-bound.
The returned value is the trailing expression, or a result variable if you set one;
stdout is captured and returned alongside it. Long values are truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||