rotate_left
Rotate selected photos 90 degrees counterclockwise in Adobe Lightroom Classic to correct orientation or adjust composition.
Instructions
Rotate selected photos 90 degrees left.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_ids | No |
Implementation Reference
- The handler implementation for the 'rotate_left' tool. It includes the @mcp.tool() registration decorator and the logic that calls the underlying 'metadata.rotate_left' bridge function.
@mcp.tool() async def rotate_left(local_ids: list[int] | None = None) -> dict[str, Any]: """Rotate selected photos 90 degrees left.""" ids = validate_local_ids(local_ids) payload: dict[str, Any] = {} if ids: payload["local_ids"] = ids return await _call("metadata.rotate_left", payload)