Docs: Tool reference
customers toolset

merge_users

Merge duplicate customers. Combines two records of the same person: the source's posts, comments, votes and company links move to the target, and the source is deleted. A vote on a post the target already voted on is dropped. The target keeps its details and fills blanks from the source. Destructive: confirm: true, or dry_run: true to preview the counts. Nobody is emailed. Managers and owners.

Toolset
customers
Who can call it
OwnersManagersAPI keys
REST
POST /api/v1/w/{workspace}/users/merge
Behavior
changes datadestructive (confirm: true, dry_run)

Input

FieldTypeDescription
sourcerequiredstringThe duplicate to merge away.
targetrequiredstringThe user to keep.
confirmbooleanMust be true to perform this destructive action, unless dry_run is true.
dry_runbooleanPreview the result without changing anything.

Output

FieldTypeDescription
sourcerequiredobject
targetrequiredobject
movedrequiredobject

Calling it

// MCP: tools/call
{ "name": "merge_users", "arguments": {"source":"<string>","target":"<string>"} }

// Typed client
await carechannel.merge_users({"source":"<string>","target":"<string>"});