restore_relationship
Restore deleted relationships. Creates an immutable restoration observation overriding deletion, making them visible again in snapshots and queries.
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 |
|---|---|---|---|
| reason | No | Optional reason for restoration (audit) | |
| user_id | No | Optional. Inferred from authentication if omitted. | |
| source_entity_id | Yes | Source entity ID | |
| target_entity_id | Yes | Target entity ID | |
| relationship_type | Yes | Relationship type (e.g. PART_OF, REFERS_TO, EMBEDS) |