merge_duplicate_contact_groups
Merge the duplicate groups listed in selectedGroupIds (their groupId values) from a completed duplicate scan or review (scanJobId). Each group keeps one contact (a shared profile over a team-only record, then the most recently created): its empty fields are filled from the others, all emails and phones are combined onto it, the others' list memberships, campaign enrollments, CRM links, owner assignments, tasks and activity move to it (where it already has the same one, the other's copy is deleted; an enrollment in a campaign it is already in is instead stopped along with its pending sends), and the other contacts are archived. Moved enrollments continue their sequences using the kept contact's details, and a campaign that enrolls new members of its lists may start contacting it. Runs in the background and answers { data: { jobId } }; that job records how many groups were merged and contacts archived. Contacts are shared, so a merge changes them for everyone who has them, and it cannot be undone: only merge groups the user has seen and approved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scanJobId": "<scanJobId>",
"selectedGroupIds": "<selectedGroupIds>"
},
"name": "merge_duplicate_contact_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scanJobId | Yes | The jobId of a completed duplicate scan or duplicate review whose groups to merge | |
| selectedGroupIds | Yes | The groups to merge, by their groupId |