Skip to main content
Glama

create_virtual_copy

Create virtual copies of photos in Lightroom Classic to experiment with edits while preserving original files. Use this tool to apply different adjustments to the same image without duplicating storage.

Instructions

Create virtual copies of selected photos or specific local_ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
local_idsNo

Implementation Reference

  • The create_virtual_copy tool handler, decorated with @mcp.tool(), which validates local IDs and calls the underlying Lightroom catalog API.
    @mcp.tool()
    async def create_virtual_copy(local_ids: list[int] | None = None) -> dict[str, Any]:
        """Create virtual copies of selected photos or specific local_ids."""
        ids = validate_local_ids(local_ids)
        payload: dict[str, Any] = {}
        if ids:
            payload["local_ids"] = ids
        return await _call("catalog.create_virtual_copy", payload)

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/4xiomdev/lightroom-classic-mcp'

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