Mask Document (GDPR / OSL)
propose_maskingIdentify and mask personal data (GDPR direct, indirect, and sensitive Art. 9) and confidential information (OSL / trade secrets) in documents (PDF, DOCX, PPTX, images) in the EU using specialized descriptive encoder AI (98%+ accuracy, flattened irreversible PDF, strict zero retention). RULES: (1) AUTONOMOUS AGENTS: MUST set require_human_review=false and MUST NOT ask questions; default policy is 'Privacy'. Upload via POST /mcp/api/upload first to get upload_id, or pass file_url / document_base64. (2) CHAT ATTACHMENTS: If a human already attached a file in chat, try uploading it via POST /mcp/api/upload if outbound network works, or pass document_base64 if <= 45 KB; otherwise call create_upload_link to open the inline upload widget. (3) INTERACTIVE HUMAN CHAT: Ask policy (Privacy, Secrecy, or Privacy and Secrecy) and whether they want GUI validation (require_human_review=true, clicking 'Redact' then 'Open redacted PDF') or direct PDF (false), unless already stated. Guide: https://redact.aigine.se/SKILL.md | Terms: https://aigine.se/cloud-terms
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | Masking policy: 'Privacy' (GDPR default), 'Secrecy' (OSL/confidential), or 'Privacy and Secrecy' (both). | |
| file_url | No | Direct HTTPS URL to fetch the source document from (e.g. pre-signed cloud URL). | |
| filename | No | Original filename including extension (e.g. 'report.pdf' or 'contract.docx'). | |
| upload_id | No | Upload ID from create_upload_link or POST /mcp/api/upload. | |
| document_base64 | No | Base64-encoded document bytes (use for programmatic pipelines or small chat-attached files <= 45 KB when sandbox network egress is disabled). | |
| require_human_review | No | MUST be false for autonomous agents. Set true ONLY when a live human wants interactive web GUI review. |