graph_link_entities
Create or remove a directed relationship between two entities in the memory knowledge graph. Specify source (from), relation type, and target (to). Optionally set action to 'unlink' to remove the relationship.
Instructions
Create or remove a directed relationship between two entities. Use action:"unlink" to remove a relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Optional store ID to target a specific registered store instead of the active one | |
| action | No | Action to perform: "link" (default) to create, "unlink" to remove | |
| from | Yes | Source entity name or ID | |
| relationType | Yes | Type of relationship (e.g., "works_on", "knows", "depends_on") | |
| to | Yes | Target entity name or ID |