delete_entity
Remove an entity from active use by generating a deletion observation. Excludes it from snapshots and queries while retaining an immutable, reversible audit trail for user-initiated or GDPR-style removal.
Instructions
Delete an entity. Creates a deletion observation so the entity is excluded from snapshots and queries. Immutable and reversible for audit; use for user-initiated or GDPR-style removal from active use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for deletion (audit) | |
| user_id | No | Optional. Inferred from authentication if omitted. | |
| entity_id | Yes | Entity ID to delete | |
| entity_type | Yes | Entity type (e.g. company, person) |