restore_relationship
Restore a deleted relationship by creating a restoration observation that overrides the deletion. The relationship becomes visible in snapshots and queries again.
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. |