Anonymize document
anonymize_documentAnonymize text or files (pdf/docx/csv/xlsx) under GDPR, HIPAA, EU AI Act, or CUSTOM. Parameters include upload_id (from upload_file_chunk), filename, file_base64, job_id, file_path, text, regime. After chunk upload, call this with upload_id + filename + regime. Excel jobs can take a few minutes; if status is running, call get_anonymize_job with the returned job_id — do not re-upload. Never paste file bytes in chat. Default regime GDPR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Inline text only when the user pasted text, not a file | |
| job_id | No | Existing anonymize job to fetch or resume (do not re-upload) | |
| regime | Yes | ||
| filename | No | Original filename with extension, required with file_base64 or upload_id | |
| file_path | No | Local absolute path only when this MCP server can read the same disk. Do not use Claude/Cowork workspace paths. | |
| upload_id | No | ID returned by upload_file_chunk when complete=true | |
| file_base64 | No | Raw file bytes as base64 in this tool argument only — never in chat. Length of tens of thousands of characters is expected. | |
| custom_entities | No | Entity types when regime is CUSTOM |