Merge people
merge_peopleMerge duplicate face clusters for the same person into one target, previewing which person clusters are kept or deleted before confirming the irreversible merge.
Instructions
Merge multiple person clusters into one. Use this when the same real person has been split into multiple face clusters. DESTRUCTIVE and IRREVERSIBLE: merged persons are permanently deleted and all their faces transfer to the target. Without confirm=true nothing happens: the call returns who would be kept and who would disappear, so the user can check the names before the merge. Side effect: with confirm=true, permanently deletes the merged persons; without it the call only previews and changes nothing.
Args:
person_id: The target person UUID to keep (receives all merged faces).
merge_ids: List of person UUIDs to absorb into the target. These persons are permanently deleted.
confirm: Pass true only after the user has seen the preview and agreed.
Returns: JSON with the preview (confirm_required, keep, merge, failed) or the
merge result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| merge_ids | Yes | ||
| person_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |