verify_redaction
Re-scan redacted PDFs on-device to confirm no recoverable content remains, using audit sidecar data for precise verification or full-file fallback.
Instructions
Re-scan an already-redacted PDF on-device and confirm nothing recoverable remains. With a configured native engine and this file's own <path>.audit.json sidecar (written by redact_pdf/redact_by_entity), this re-checks exactly the regions that were redacted — the strongest form of this check. Without a native engine (or without that sidecar — e.g. the file wasn't redacted by this tool), it falls back to a general on-device re-scan of the whole file and reports whether anything is still detectable — a good-faith re-check, not a claim of the same rigor as the sidecar-based path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfPath | Yes | absolute path to the redacted PDF to verify |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| clean | Yes | ||
| verdict | No | ||
| findings | Yes | ||
| totalFindings | Yes |