dedup_candidates
Identify knowledge-graph node pairs that are likely duplicates but require human review, sorted by descending similarity so the strongest candidates appear first.
Instructions
Return pairs of nodes whose embeddings are above a threshold but below the auto-merge threshold. Intended for human review before calling canonicalize_node. Returns pairs sorted by descending similarity so the most likely duplicates appear first.
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": "dedup_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project scope to filter candidates. | |
| agent_id | No | Optional agent scope to filter candidates. | |
| threshold | No | Minimum cosine similarity to report (default 0.85). | |
| session_id | No | Optional session scope to filter candidates. |