# Create Relationship

`lawmatics_create-relationship` · Lawmatics MCP tool · Relationships

Create a relationship linking a matter to a contact with a relationship type (e.g. Spouse, Child, Attorney) in Lawmatics. Use list-relationship-types to discover valid relationship type IDs. If the relationship type allows multiple, a matter can have more than one relationship.

## Input

- **matterId** `string` (required) — ID of the matter on one side of the relationship
- **contactId** `string` (required) — ID of the contact on the other side of the relationship
- **relationshipTypeId** `string` (required) — ID of the relationship type (e.g. Spouse, Child). Use list-relationship-types to find valid IDs.

## Output

- **id** `string` (required) — Unique ID of the relationship
- **name** `string` (required) — Relationship name derived from the relationship type (e.g. Spouse, Child); read-only
- **matterId** `string` (required) — ID of the matter on one side of the relationship
- **contactId** `string` (required) — ID of the contact on the other side of the relationship
- **relationshipTypeId** `string` (required) — ID of the relationship type that defines this relationship
- **createdAt** `string | null` (required) — When the relationship was created, as an ISO 8601 timestamp; null if unknown
- **updatedAt** `string | null` (required) — When the relationship was last updated, as an ISO 8601 timestamp; null if unknown
