restore_entity
Restore deleted entities by creating immutable restoration observations, making them visible in snapshots and queries again while maintaining audit trails.
Instructions
Restore a deleted entity. Creates a restoration observation (priority 1001) that overrides the deletion. Entity becomes visible in snapshots and queries again. Immutable restoration for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Entity ID to restore | |
| entity_type | Yes | Entity type (e.g. company, person) | |
| reason | No | Optional reason for restoration (audit) | |
| user_id | No | Optional. Inferred from authentication if omitted. |