pdf_redact
Visually redact PDF regions by drawing opaque rectangles over them. Does not strip hidden data, so avoid for true 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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"regions": "<regions>"
},
"name": "pdf_redact"
}
}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 |