memory_relate
Creates a typed link between two knowledge records to expand graph-based search. Supports relation types: causal, solution, context, related, and contradicts.
Instructions
Create a typed relation between two knowledge records. Enriches graph expansion in Tier 4 search. Types: causal, solution, context, related, contradicts.
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": {
"from_id": "<from_id>",
"to_id": "<to_id>",
"type": "<type>"
},
"name": "memory_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relation type | |
| to_id | Yes | Target knowledge record ID | |
| from_id | Yes | Source knowledge record ID |