restore_relationship
Restore a deleted relationship. Creates an immutable restoration observation that outranks earlier observations. Relationship becomes visible in snapshots and queries again; later explicit deletion remains possible.
Instructions
Restore a deleted relationship. Creates an immutable restoration observation that outranks earlier observations. Relationship becomes visible in snapshots and queries again; later explicit deletion remains possible.
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 | Exact relationship type of the existing edge — the same vocabulary create_relationship writes. Relationship type. The vocabulary is a runtime registry, not a closed enum: call list_relationship_types to read what this instance accepts, and register_relationship_type to add to it. |