Aigine Redact
v2.5.18EU descriptive AI redaction (GDPR & OSL: 98.3% precision, 93.2% recall).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_upload_link Aigine Redact – Upload document for redaction
Start here when a person in a chat wants a document masked. Aigine Redact detects and masks personal data and confidential information in documents. This creates a 15-minute upload slot on Aigine's EU server and shows an inline upload box in MCP Apps clients, so the PDF, DOCX, PPTX or image (up to 50 MB) goes directly to the EU server and never passes through the chat. Returns upload_id and upload_url (fallback when no widget is shown). When the widget is shown, the user picks policy and mode in it and the widget starts masking itself: do not ask for these choices in chat and do not call propo…
propose_masking Aigine Redact – Mask document
Detects 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…
| Parameter | Type | Description |
|---|---|---|
document_base64 | string | Base64-encoded document bytes (up to 45 KB). |
file_url | string | Direct HTTPS URL of the source document to mask. |
filename | string | Original filename including extension (e.g. 'report.pdf' or 'contract.docx'). |
policy | string | Redaction policy: 'Privacy' (GDPR personal data, default), 'Secrecy' (trade secrets and statutory secrecy/OSL), or 'Privacy and Secrecy' (both). |
require_human_review | boolean | When true, prepares an interactive web GUI review session (review_url) before generating the final PDF. When false (default), generates the masked PDF directly. |
upload_id | string | Temporary upload ID representing a file uploaded to the EU server. |
fetch_reviewed_document Aigine Redact – Fetch reviewed document
Use only after review: requires a doc_id returned by propose_masking with require_human_review: true, and the user must have clicked Redact in the review GUI. Returns a temporary download_url for the finalized masked PDF, then deletes the document from the processing server. Do not call it with a guessed doc_id or before the user confirms the review is done.
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | Document ID (doc_id) of the reviewed document. |