Merge duplicate leads
dosai_merge_leadsMerge duplicates of one person into the main lead: the duplicates are removed, their data moves to the main one. Cannot be undone. Two steps. Requires editor role.
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": {
"project_id": "<project_id>",
"primary_id": "<primary_id>",
"duplicate_ids": "<duplicate_ids>"
},
"name": "dosai_merge_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primary_id | Yes | From dosai_list_leads. | |
| project_id | Yes | From dosai_list_projects. | |
| confirm_token | No | Leave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code. | |
| duplicate_ids | Yes |