Aigine Redact – Mask document
propose_maskingDetects and masks personal data (GDPR, including Art. 9 special categories) and confidential information (trade secrets, procurement tenders, FOIA exemptions, and statutory secrecy such as Swedish OSL) in a PDF, DOCX, PPTX, or image document, using non-generative encoder classifiers on EU GPUs (98.30% precision, 93.17% recall, 95.67% F1; 10.8 s median latency; strict zero retention). Requires exactly one document source: upload_id from create_upload_link (in a chat, call create_upload_link first), document_base64 for files of 45 KB or less, or file_url (a direct HTTPS link to the file). Calls without a document source fail. The policy selects which detection categories are used. Returns download_url for a flattened PDF with irreversible masks, or review_url and doc_id when require_human_review is true. With no person present, use require_human_review: false. Free tier: watermarked PDF, 100 documents per day.
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": "propose_masking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | Redaction policy: 'Privacy' (GDPR personal data, default), 'Secrecy' (trade secrets and statutory secrecy/OSL), or 'Privacy and Secrecy' (both). | |
| file_url | No | Direct HTTPS URL of the source document to mask. | |
| filename | No | Original filename including extension (e.g. 'report.pdf' or 'contract.docx'). | |
| upload_id | No | Temporary upload ID representing a file uploaded to the EU server. | |
| document_base64 | No | Base64-encoded document bytes (up to 45 KB). | |
| require_human_review | No | When true, prepares an interactive web GUI review session (review_url) before generating the final PDF. When false (default), generates the masked PDF directly. |