resolve_duplicates
Resolve duplicate photo groups identified by get_duplicates, choosing assets to keep and trashing the rest. Rejected items can be recovered using restore_assets.
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 |