Merge duplicate objects
merge_objectsFold a DUPLICATE object into the object it duplicates, then delete it.
Extraction coins near-duplicates (`turkey` beside `country_tur`) because the
known-objects hint it sees is capped at the newest rows. Use this when two
objects of the SAME class denote one real thing: `winner_id` is the one to
keep, and the loser's properties, edges, mentions and ownership move onto it
before it goes. Edges the move turns into self-loops or exact duplicates are
dropped. Identify the loser by `loser_id` or by `loser_name` (its canonical
snake_case name, resolved within the winner's class).
Irreversible, and the loser id stops resolving afterwards — confirm the two
really are one thing (get_object on both) before calling. Refuses a
cross-class pair. Requires write access to the memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| loser_id | No | ||
| winner_id | Yes | ||
| loser_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||