Skip to main content
Glama

execute_resolve_code

Run custom Python scripts in DaVinci Resolve's scripting environment to control timelines, media pools, and more. Use print() or assign a result variable for output.

Instructions

Execute arbitrary Python code in the DaVinci Resolve scripting environment. Use this for operations not covered by specific tools.

Pre-loaded namespace variables:

  • resolve: The DaVinci Resolve object

  • project: The current project

  • mediaPool: The current media pool

  • timeline: The current timeline (may be None)

  • mediaStorage: The media storage object

Use print() to output results, or set a variable named 'result'.

Parameters:

  • code: Python code to execute

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barckley75/resolve-claude-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server