Skip to main content
Glama

rotate_right

Rotate selected photos 90 degrees clockwise in Lightroom Classic to correct orientation or adjust composition for editing workflows.

Instructions

Rotate selected photos 90 degrees right.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
local_idsNo

Implementation Reference

  • The handler function 'rotate_right' which registers the tool and invokes the underlying Lightroom metadata call.
    @mcp.tool()
    async def rotate_right(local_ids: list[int] | None = None) -> dict[str, Any]:
        """Rotate selected photos 90 degrees right."""
        ids = validate_local_ids(local_ids)
        payload: dict[str, Any] = {}
        if ids:
            payload["local_ids"] = ids
        return await _call("metadata.rotate_right", 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