create_relationship
Create a relationship between two Dataverse entities by providing type, primary and related entities, and schema name. Supports One-to-Many and Many-to-Many with optional lookup attributes.
Instructions
Create a relationship between two Dataverse tables
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relationship type | |
| lookup_name | No | Logical name for lookup attribute (OneToMany only) | |
| schema_name | Yes | Unique schema name for the relationship | |
| primary_entity | Yes | Primary (referenced) entity logical name | |
| related_entity | Yes | Related (referencing) entity logical name | |
| lookup_display_name | No | Display name for lookup attribute (OneToMany only) |