Metis · Data Guardian — Check Data Safety
check_data_safetyScan pasted or shared data for personal identifiers before any analysis, returning safety status, warnings, and next steps so sensitive records can be masked or handled safely.
Instructions
Check pasted or shared data for personal identifiers — call FIRST, before analysing it.
Call this as the very first step whenever the researcher pastes or shares
rows about individual people (a line list, patient or participant records,
a table with names, dates of birth, phone numbers, GPS points or IDs) —
before any calculation or answer, even for a simple question. If the result
is not PUBLIC, do not analyse the raw rows: mask them with anonymize_text,
log the event with log_consent_event, and offer a script the researcher
runs locally.
Returns safety status, classification, specific warnings and the next steps.
Args:
content: Text content to scan.
file_path: Optional file path for context-based classification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |