add_knowledge_relationships
Bulk create relationships between existing entities in a knowledge graph to map connections like AUTHORED or REFERENCES.
Instructions
Bulk create relationships between entities in the knowledge graph. Each relationship needs from_id, to_id (matching existing entity_ids), rel_type (matching schema — e.g., 'AUTHORED', 'COVERS', 'REFERENCES'), and optional properties.
Use get_knowledge_schema first to see available relationship types.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_code | Yes | Project code (e.g., 'abc12345') — from list_knowledge_projects | |
| relationships | Yes | Array of relationships to create | |
| environment | No | Target environment | staging |