Bulk Create Graph Relationships
bulk_create_graph_relationshipsCreate multiple relationships at once (up to 500 per call). Uses Neo4j UNWIND for high performance.
Essential for connecting knowledge — link hundreds of concepts, people, and events in one operation.
Each relationship needs: from_id, to_id, and optional data (properties).
Example: rel_type: "related_to" relationships: [ {"from_id": "quantum-mechanics-001", "to_id": "wave-function-001", "data": {"strength": "strong"}}, {"from_id": "quantum-mechanics-001", "to_id": "superposition-001", "data": {"strength": "strong"}} ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel_type | Yes | Relationship key for all relationships | |
| project_id | Yes | Project ID (UUID) | |
| environment | No | Environment: staging or production (default: staging) | |
| relationships | Yes | List of relationships. Each: {from_id, to_id, data?} |