pdf_redact
Visually redact PDF content by drawing opaque rectangles over specified regions. Not for removing underlying data or sensitive document sanitization.
Instructions
VISUAL-ONLY redaction: draws opaque rectangles over regions on PDF pages. WARNING: This does NOT remove the underlying text/data from the PDF — it only covers it visually. The original content can still be extracted programmatically. Do NOT use this for true document sanitization of sensitive data (SSNs, passwords, etc). For true redaction, use a tool that rewrites the PDF content stream (e.g. Adobe Acrobat Pro, qpdf, or mutool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Redaction color (default: black) | black |
| regions | Yes | Regions to redact | |
| filePath | Yes | PDF file path | |
| outputPath | Yes | Output path |