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 and graph plumbing (relationship/action occurrences,
vocabulary templates, the `_system.*` namespace). Requires write access
to the graph. Both objects must be ones you can read: one hidden from
you, still waiting for review, or rejected answers as not found. Not
found doesn't mean it is gone: one you just recorded may be waiting, and
a person decides it in Review. Tell the user so; don't try other ids or
names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"memory": "<memory>",
"winner_id": "<winner_id>"
},
"name": "merge_objects"
}
}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 | |||