redact_pdf
Create a redacted PDF copy by replacing sensitive values with consistent labels, removing metadata, embedded files, and annotations, and converting office documents or images to PDF.
Instructions
Write the redacted copy: every value is replaced by its label (Person 1, Tax code 1...),
metadata, embedded files and annotations removed, a "redacted copy" footer on every page.
Non-PDF input (office documents, images: give filename) is converted; the output is always a PDF.
Returns the PDF as Base64 (or writes it to output_path when paths are enabled) and the report,
without the original values. Publish only with outcome "ok" or after a human check.
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": "redact_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| keep | No | ||
| path | No | ||
| config | No | ||
| filename | No | ||
| pdf_base64 | No | ||
| output_path | No |