add_relationship
Add a directed relationship between two entities in a knowledge graph, specifying type and metadata to link them.
Instructions
Add a directed relationship (edge) between two entities in the knowledge graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Relationship type, e.g. 'WORKS_AT' | |
| source | Yes | Source node ID | |
| target | Yes | Target node ID | |
| metadata | No | Additional edge properties |