Resolve duplicates
resolve_duplicatesResolve duplicate photo groups by selecting which assets to keep and which to move to trash, so you can clean up your Immich library after reviewing duplicates.
Instructions
Resolve duplicate groups by choosing which assets to keep and which to trash. Use this after reviewing results from get_duplicates. Trashed assets can still be recovered via restore_assets. Side effect: moves rejected duplicates to trash.
Args:
groups: List of dicts, each with: duplicateId (from get_duplicates), assetIds (UUIDs to KEEP), trashIds (UUIDs to TRASH).
Returns: JSON with count of resolved groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |