resolve_duplicates
Resolve duplicate groups by specifying which assets to keep and which to trash, cleaning up your photo library.
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 |