neo4j_insert_relationship
Create a relationship between two existing nodes by specifying their labels and unique matching properties, along with the relationship type and optional properties.
Instructions
Create a relationship between two existing nodes (matched by label + properties).
Args: from_label: Label of the source node. from_properties: Properties to match the source node (must be unique). rel_type: Relationship type (e.g. "PAGOU", "PERTENCE"). to_label: Label of the target node. to_properties: Properties to match the target node (must be unique). rel_properties: Optional properties on the relationship itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel_type | Yes | ||
| to_label | Yes | ||
| from_label | Yes | ||
| to_properties | Yes | ||
| rel_properties | No | ||
| from_properties | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |