consolidate_relations
Detect duplicate relations in the knowledge graph and, when apply is enabled, merge tier 1+2 duplicates into one canonical relation while summing confirmation counts.
Instructions
Run relation-duplicate analysis and — when apply=true — merge tier 1+2 duplicate groups (delete variants, create the canonical survivor with summed confirmationCount). apply=false (default) is identical to analyze_relation_duplicates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "consolidate_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Apply tier 1+2 merges (default false = dry-run) |