list_potential_duplicates
Scan a specified entity type for duplicate pairs using fuzzy matching, returning candidates within a similarity threshold for user review before merging.
Instructions
List candidate duplicate entity pairs for an entity_type. Read-only fuzzy post-hoc detector; never auto-merges. Per-schema thresholds and fields come from the schema's duplicate_detection_threshold and duplicate_detection_fields; callers may override threshold per call. Confirm pairs with the user, then hand off to merge_entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | Entity type to scan for duplicates (e.g. contact, company). | |
| threshold | No | Similarity threshold in (0, 1]. Defaults to the schema's duplicate_detection_threshold or 0.85. | |
| limit | No | Maximum number of candidate pairs to return. Defaults to 50. | |
| user_id | No | Optional. Inferred from authentication if omitted. |