relationships
Manage node relationships with create, delete, and list operations, preventing circular CONTAINS dependencies.
Instructions
Manage relationships between nodes (CONTAINS, RELATE_TO).
Supports create, delete, and list operations. Prevents circular CONTAINS dependencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (for list) | |
| offset | No | Offset for pagination (for list) | |
| rel_id | No | Relationship ID (for delete) | |
| operation | Yes | Operation to perform (create, delete, list) | |
| source_id | No | Source node ID | |
| target_id | No | Target node ID | |
| properties | No | Relationship properties - can be dict or JSON string | |
| relationship_type | No | Type of relationship (CONTAINS, RELATE_TO) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||