Merge duplicate records
merge_recordsMerge duplicate contacts/accounts. Contact blanks fill without overwrites; links move (activities/tasks/notes/deals/rosters/enrollments/meetings/attachments/relationship fields). Email/phone/LinkedIn identities stay with the survivor. The archived duplicate points to it, so its id still resolves. Colliding rows (same activity or active sequence enrollment) stay in duplicate history and appear in collisions. Account merges require a workspace admin and active Core workspace; Core billing rules apply, without field filling. Preview first; only confirm:true changes data. Without keep_id/merge_id, list possible duplicates with the older record proposed to keep; record_id narrows the list.
When to use: Two records represent one person/company: merge to preserve history instead of deleting the twin.
Example: Merge these duplicate people; keep the one linked to the company.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Listing only: at most this many pairs (default 25). | |
| confirm | No | true merges; omitted or false previews. | |
| keep_id | No | The record that stays and keeps the history. | |
| merge_id | No | The duplicate that is folded in and archived. | |
| record_id | No | Listing only: possible duplicates of this record. People match by live email/phone/LinkedIn URL or name on one account; companies by domain/LinkedIn page/name. These are candidates, not proven identities. | |
| object_type | Yes | What the ids are. | |
| expected_keep_revision | No | The kept record's mcp_revision from the preview; the merge refuses if it moved. | |
| expected_merge_revision | No | The duplicate's mcp_revision from the preview; the merge refuses if it moved. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kept | No | ||
| note | No | ||
| filled | No | ||
| merged | No | ||
| preview | No | ||
| merged_id | No | ||
| candidates | No | ||
| collisions | No | ||
| object_type | No | ||
| identities_added | No | ||
| requires_confirm | No | ||
| transferred_links | No |