merge_entities
Consolidate duplicate or misspelled entities into one target entity, removing the sources. Use to clean up inconsistent knowledge graph entries.
Instructions
Merge one or more duplicate or misspelled entities into a single target entity. The merged-from entities are removed once this succeeds and this cannot be undone -- double check the names first.
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": {
"entities_to_change": "<entities_to_change>",
"entity_to_change_into": "<entity_to_change_into>"
},
"name": "merge_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entities_to_change | Yes | Entity names to merge and remove -- typically duplicates or misspellings, e.g. ['Elon Msk', 'Ellon Musk']. | |
| entity_to_change_into | Yes | Target entity name that receives all relationships from the source entities. Created if it doesn't already exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||