merge_contacts
Merge two contacts into one by keeping a base contact, transferring all conversations, labels, and custom attributes to it, and permanently deleting the duplicate.
Instructions
Merge two contacts into one. The base contact remains and receives all data (conversations, labels, custom attributes) from the mergee contact. The mergee contact is permanently deleted.
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": {
"base_contact_id": "<base_contact_id>",
"mergee_contact_id": "<mergee_contact_id>"
},
"name": "merge_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Chatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var. | |
| base_contact_id | Yes | The contact ID that will remain after the merge | |
| mergee_contact_id | Yes | The contact ID that will be merged and deleted |