execute_python
Execute Python code with pre-populated DaVinci Resolve API variables. stdout is captured; set 'result' to return data.
Instructions
Execute Python code with Resolve API access. stdout is captured.
Pre-populated variables: resolve, fusion, project_manager, project, media_pool, media_storage, timeline. Set a 'result' variable to return data.
Args: code: Python code to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |