get_version
Retrieve the version of the installed DaVinci Resolve software. This tool returns the version number for compatibility checks and troubleshooting.
Instructions
Get DaVinci Resolve version information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function that executes the get_version tool logic. Calls GetProductName() and GetVersionString() on the DaVinci Resolve API to return version info.
def get_version(self) -> str: """Get DaVinci Resolve version.""" self._ensure_connected() if self._resolve: return ( f"{self._resolve.GetProductName()} {self._resolve.GetVersionString()}" ) return "Unknown" - src/davinci_mcp/types.py:91-101 (schema)Protocol type definitions for GetVersion and GetVersionString, defining the expected API interface for the DaVinci Resolve application object.
def GetVersion(self) -> list[str]: """Get the DaVinci Resolve version information.""" ... def GetProductName(self) -> str: """Get the product name.""" ... def GetVersionString(self) -> str: """Get the version as a string.""" ... - src/davinci_mcp/tools/__init__.py:12-16 (registration)MCP tool registration: defines the 'get_version' tool with its name, description, and empty input schema.
types.Tool( name="get_version", description="Get DaVinci Resolve version information", inputSchema={"type": "object", "properties": {}, "required": []}, ), - src/davinci_mcp/server.py:88-91 (handler)Dispatch in _call_tool: routes the 'get_version' tool name to the resolve_client.get_version() method.
"""Dispatch a tool call to the resolve client.""" if name == "get_version": return self.resolve_client.get_version() elif name == "get_current_page": - src/davinci_mcp/server.py:150-152 (helper)Also used as a resource handler for the 'resolve://version' URI, calling get_version() when the resource is read.
if uri == "resolve://version": return self.resolve_client.get_version() elif uri == "resolve://current-page":