Merge brain objects
merge_graph_objectsMerge two duplicate records in the user's graph into one, person or company only. Every connection moves from the duplicate onto the kept record, fields the kept record lacks are copied over (never overwritten), and the duplicate is removed. Call with preview=true first and emit the merge_compare card it names: the card shows both records and merges when the user clicks, so never merge without an explicit yes. keep_id survives; merge_id goes. unmerge_graph_objects puts it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_id | Yes | The record that survives (exact object_id). | |
| preview | No | Return what the merge would do without doing it. Call this first. | |
| merge_id | Yes | The duplicate to fold in and delete. |