get_safety_report
Retrieve a detailed compliance report and remediation strategy for flagged payloads, including regulation triggered, problematic fields, and compliant reformulation to prevent unremediated violations.
Instructions
Retrieves a detailed compliance report and remediation strategy for a flagged payload. Call this BEFORE your agent decides whether to proceed, redact, or halt -- immediately after validate_data_safety returns REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE. Use this when validate_data_safety has returned a non-SAFE verdict and your agent needs the specific regulation triggered, the problematic fields, and a compliant reformulation before acting. Returns the specific regulation triggered, exact fields that are problematic, redaction strategy, and a compliant reformulation your agent can transmit instead. Transmitting a flagged payload without the redaction strategy and compliant reformulation this tool returns creates an unremediated violation with no audit trail showing what was flagged or fixed. Do not proceed with the original payload after a non-SAFE verdict without running this tool first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | REPORT: get redaction strategy and compliant reformulation for a flagged payload. BATCH: classify up to 50 payloads. AUDIT: generate compliance summary report. | |
| context | No | What will be done with this data. Used to improve verdict accuracy. | |
| payload | No | The flagged payload to analyse. Required for REPORT mode. | |
| payloads | No | Array of data payloads to classify. Required for BATCH mode. Maximum 50. | |
| jurisdiction | No | Jurisdiction override for REPORT mode (e.g. "EU", "US", "UK"). Optional. | |
| dataset_description | No | Description of the dataset for AUDIT mode (e.g. "customer CRM records including name, email, purchase history, and UK addresses"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| status | No | Present on the free-tier REPORT preview path | |
| message | No | ||
| checked_at | Yes | ||
| _disclaimer | Yes | ||
| upgrade_url | No | ||
| patterns_detected | No |