Relate Knowledge
kg_relateCreate or reinforce a relationship between two knowledge nodes and reactivate both, enabling agents to connect decisions, problems, and reasoning in shared memory.
Instructions
Create a relationship between two knowledge nodes, or reinforce it if it already exists (the edge weight increases). Both nodes are reactivated (their decay scores are boosted). Requires an active session; limited to 100 edges per session.
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": "<from>",
"to": "<to>"
},
"name": "kg_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target node ID | |
| from | Yes | Source node ID (e.g., "node:abc123") |