consent_check
Determine if an active consent authorizes processing personal data for a given purpose before you proceed. Returns allowed status, reason, and matching consent ID.
Instructions
Before you process someone's personal data, ask VITNA whether an active consent actually permits it for this purpose. Give the data principal + purpose (and optional category); returns { allowed, reason, matching_consent_id, principal_id }, a determination you must honour yourself since VITNA evaluates and records but does not enforce. Use this for personal-data processing legality; for a dangerous technical action (shell / file / DB / network) use vitna_preflight instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | Yes | Purpose code (e.g. 'operational_observability'). | |
| category | No | Optional permitted-category check. | |
| principal_id | No | UUID of the data principal (if known). | |
| principal_ref | No | Operator-side identifier; will be SHA-256-hashed. |