compile_clean_burned_pdf
Compile a clean PDF-1.7 from JPEG page frames or rendered page specs with burn-in redaction boxes, optional watermark, and a SHA-256 zero-leak receipt to verify sensitive terms are removed.
Instructions
Compile a brand-new zero-text-stream %PDF-1.7 binary from Base64 JPEG (DCTDecode) page frames or rendered page specs with solid pixel burn-in redaction boxes and optional watermark, then re-scan the output bytes to issue a cryptographic SHA-256 Zero-Surviving-Leak Receipt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compile_clean_burned_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| burnBoxes | No | Solid black pixel burn-in rectangles [{ x, y, width, height }] irrevocably stamped into the raster frame. | |
| outputPath | No | Optional filesystem path to save the compiled clean %PDF-1.7 file. | |
| targetTerms | No | Sensitive terms verified to have 0 surviving matches in the compiled %PDF-1.7 receipt. | |
| returnBase64 | No | When true, returns the compiled %PDF-1.7 bytes as Base64 in the JSON tool response. | |
| visibleLines | No | Safe uppercase/ASCII visible text lines rendered purely as pixels when jpegPagesBase64 is not supplied. | |
| watermarkText | No | Optional diagonal security watermark burned into page pixels (e.g. "REDACTED"). | |
| jpegPagesBase64 | No | Optional array of Base64-encoded baseline JPEG page images to wrap into a clean %PDF-1.7. |