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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "redact_resume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional for resume_text (default 'inline_resume.txt'). Required for resume_base64 and must include the original file extension. | |
| 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 | 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. | |
| resume_base64 | No | Raw Base64-encoded resume file content (PDF, DOC, DOCX, RTF, TXT). Provide the original filename. Use either resume_text or resume_base64, not both. Do not include a data URI prefix. | |
| 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.'). |