Docs: Tool reference
triage toolset

merge_posts

Merge duplicate posts. Merges a duplicate (source) into another post (target): votes move over, except from people who already voted on the target; comments move too, and the source's followers (customers and team) follow the target unless they unfollowed it, so they hear about its updates. The source becomes read-only and redirects. unmerge_post restores it exactly, even after further merges. With notify (default false), the source's voters are emailed now. Destructive: pass confirm: true, or dry_run: true to preview counts. Managers and owners.

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

Input

FieldTypeDescription
sourcerequiredstringThe duplicate to merge away.
targetrequiredstringThe post to keep.
notifybooleanEmail the source's voters (default false). Default: false.
confirmbooleanMust be true to perform this destructive action, unless dry_run is true.
dry_runbooleanPreview the result without changing anything.

Output

FieldTypeDescription
sourcerequiredobject
targetrequiredobject
votes_movedrequiredinteger
votes_deduplicatedrequiredintegerPeople who had voted on both; their source vote was dropped.
comments_movedrequiredinteger
followers_addedrequiredintegerPeople who followed the source and now follow the target too.

Calling it

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

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