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
| Name | Required | Description | Default |
|---|---|---|---|
| local_ids | No |
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)