delete_collection
Remove a collection from Lightroom Classic by specifying its ID to manage your photo catalog and organize your editing workspace.
Instructions
Delete a collection by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes |
Implementation Reference
- The implementation of the delete_collection tool, which is registered as an MCP tool and calls the internal _call method.
@mcp.tool() async def delete_collection(collection_id: int) -> dict[str, Any]: """Delete a collection by its ID.""" return await _call("catalog.delete_collection", {"collection_id": collection_id})