Resume Redaction
redact_resumeRedacts personally identifiable information from candidate profiles to support anonymized review, bias-aware screening, compliance workflows, and audit logs. Configurable redaction scope. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional original filename (e.g. 'resume.pdf'). Defaults to 'inline_resume.txt'; '.txt' is appended if missing. | |
| jsondata | No | Pre-parsed resume JSON string (skips re-parsing when provided). | |
| masktype | No | How masked fields render — 'x-value' (default, replaces with XXXXXXXXX) or 'null-value' (removes the field entirely). | x-value |
| maskfields | No | Fields to redact/hide — JSON array or comma-separated string, e.g. ["Name","Email","PhoneNumber"] or "Name, Email, Phone". When omitted, the server's default redaction set is applied. | |
| resume_text | No | Required. Complete, verbatim plain-text of the resume/CV — every line as in the original. Do NOT summarise or base64-encode; pass raw text. | |
| abbreviation | No | Set True to enable abbreviation mode globally. | |
| abbfieldcolor | No | Hex colour for abbreviation highlights. | |
| highlightcolor | No | Hex colour to highlight redacted regions (e.g. '#FFFF00'). | |
| abbreviationfields | No | Fields to abbreviate rather than mask — JSON array or comma-separated string (e.g. 'Name' -> 'J.D.'). |