restore_relationship
Restore deleted relationships by creating immutable restoration observations, making them visible again in snapshots and queries for audit purposes.
Instructions
Restore a deleted relationship. Creates a restoration observation (priority 1001) that overrides the deletion. Relationship becomes visible in snapshots and queries again. Immutable restoration for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relationship_type | Yes | Relationship type (e.g. PART_OF, REFERS_TO, EMBEDS) | |
| source_entity_id | Yes | Source entity ID | |
| target_entity_id | Yes | Target entity ID | |
| reason | No | Optional reason for restoration (audit) | |
| user_id | No | Optional. Inferred from authentication if omitted. |