set_title
Update title metadata for selected photos in Lightroom Classic to organize and identify images efficiently.
Instructions
Set Lightroom title metadata for selected photos or local_ids.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| local_ids | No |
Implementation Reference
- The handler function for the 'set_title' tool, which sets Lightroom title metadata.
@mcp.tool() async def set_title(title: str, local_ids: list[int] | None = None) -> dict[str, Any]: """Set Lightroom title metadata for selected photos or local_ids.""" payload: dict[str, Any] = {"title": str(title)} ids = validate_local_ids(local_ids) if ids: payload["local_ids"] = ids return await _call("metadata.set_title", payload)