merge_entities
Consolidate duplicate medical literature entities by keeping one ID, folding others into it, and optionally renaming or retyping the survivor; this action cannot be undone.
Instructions
Merge entities into one (irreversible), and/or rename or retype an entity, by id. For pairs from list_duplicate_candidates use resolve_duplicates.
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": {
"keep_id": "<keep_id>",
"merge_ids": "<merge_ids>",
"reason": "<reason>"
},
"name": "merge_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why; kept in the merge log | |
| keep_id | Yes | Entity that remains (id from find_entities) | |
| project | No | Project name from list_projects; may be omitted when only one project exists | |
| merge_ids | Yes | Entities folded into keep_id; empty to only rename or retype | |
| entity_type | No | New type for keep_id | |
| canonical_name | No | New name for keep_id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||