Redact / anonymize a resume — mask or remove unconscious-bias and personal fields
(name, photo, age, gender, contact info, etc.) so it can be shared bias-free with
employers or hiring managers. Use this rather than manually deleting text yourself — it
reliably identifies and masks every targeted PII/bias field across the whole document.
Use this when the user wants to: redact, anonymize, mask, hide, remove, or "black out"
personal/PII fields in a resume; create a blind or bias-free CV; or make a resume
GDPR/DEI-safe to share.
Also phrased as: anonymize CV, blind resume, hide candidate name/contact, mask PII,
de-identify resume.
Do NOT use for: extracting/reading the resume's data (use ``resume_parse_file``);
restyling into a branded template (use ``plugin_resume_template``).
**IMPORTANT — you MUST extract and pass the full resume text yourself.**
Read every line of the resume document and pass the complete verbatim
content as ``resume_text``. Do NOT call this tool with an empty or
placeholder value; if the text has not yet been extracted, read/extract
it first, then call this tool.
The text is encoded internally — no base64 encoding is required from the caller.
Supported file types: doc, docx, dot, rtf, odt, txt, pdf.
Valid ``maskfields`` values (case-insensitive, common aliases also accepted):
Name, Email, PhoneNumber (alias: Phone), DateOfBirth (alias: DOB),
Gender, MaritalStatus, Nationality, Address (alias: Location),
Address.City, Address.State, Address.Country, Address.ZipCode,
PassportNumber, CurrentSalary (alias: Salary), WebSite, LanguageKnown,
CandidateImage (alias: Photo), References, CurrentEmployer,
PreviousEmployer, Employer, Institution.
Args:
resume_text: **Required.** Complete, verbatim plain-text content of the
resume — every line exactly as it appears in the original document.
Do NOT summarise, paraphrase, or omit any section. Extract the full
text before calling this tool.
filename: Optional original filename (e.g. ``resume.pdf``). Defaults to
``inline_resume.txt``. A ``.txt`` extension is appended automatically
if the name has none.
userkey: RChilli API userkey. Leave blank to use the authenticated session key.
subuserid: Sub-user identifier for multi-tenant isolation.
jsondata: Pre-parsed resume JSON string (skips re-parsing when provided).
maskfields: Fields to redact — JSON array or comma-separated string.
Example: ``["Name","Email","PhoneNumber"]`` or ``"Name, Email, Phone"``.
When omitted, the server applies its default redaction set.
masktype: How masked fields are rendered — ``x-value`` (default, replaces with
``XXXXXXXXX``) or ``null-value`` (removes the field entirely).
highlightcolor: Hex colour to highlight redacted regions (e.g. ``#FFFF00``).
abbfieldcolor: Hex colour for abbreviation highlights.
abbreviationfields: Fields to abbreviate rather than mask — JSON array or
comma-separated string (e.g. ``"Name"`` → ``"J.D."``).
abbreviation: Set to ``True`` to enable abbreviation mode globally.
Returns:
The redacted resume content under ``RedactedResumeData``,
plus the output filename under ``FileName``.