memory_detect_contradictions
Identify conflicting information in stored memories by comparing semantic similarity and applying logical reasoning to detect contradictions.
Instructions
Detect memories that contradict a given memory.
Uses semantic search to find similar memories, then LLM reasoning to determine if they actually contradict each other.
Args: memory_id: ID of the memory to check for contradictions similarity_threshold: Minimum similarity for considering contradictions (default: 0.7) create_edges: Whether to create CONTRADICTS edges (default: True)
Returns: Result with list of contradicting memory IDs and edges created
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_id": "<memory_id>"
},
"name": "memory_detect_contradictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | ||
| similarity_threshold | No | ||
| create_edges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||