memory_relate
Link two entities with a typed relationship (e.g., builds, works at). Stores direction but allows bidirectional querying, with optional strength and context.
Instructions
Create a relationship between two entities (e.g., "Amin" builds "ModQuote"). Relationships are bidirectional for querying but stored with a direction.
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_entity_id": "<from_entity_id>",
"to_entity_id": "<to_entity_id>",
"relationship_type": "<relationship_type>"
},
"name": "memory_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | What established this relationship | |
| strength | No | ||
| to_entity_id | Yes | Target entity ID | |
| from_entity_id | Yes | Source entity ID | |
| relationship_type | Yes | Type of relationship (e.g., "builds", "uses", "works_at", "prefers") |