Undo End-User Merge
unmerge_end_usersUndo an incorrect end-user identity merge: re-point all linked records to the original users and un-tombstone folded-in sources. Reversible for 30 days using the merge event ID; retrying is safe.
Instructions
Undo a previous end-user merge: reads the merge ledger and re-points every FK row (events, insights, tasks, …) back to its original end-user, un-tombstoning the folded-in sources. Safe to retry — a second undo of the same merge changes nothing (it fails with already_reverted). Use to correct a wrong identity merge (merges stay reversible for 30 days). Find the event_id with list_identity_merges (pick an un-reverted merge); event_id is required.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_id": "uuid"
},
"name": "unmerge_end_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Id of the merge event to undo, from list_identity_merges. |