← Back to MCP setup
🔒

Redact private data

dbn.redact

Remove or pseudonymize names, IDs, phone numbers, addresses, and places.

Parameter Type Required Description
text* string Yes The text to redact.
language string
en | no | uk | pl | auto
Language of the input text: en, no, uk, pl, or auto.
mode string
standard | strict
Redaction scope: standard (names, IDs, phones) or strict (also addresses, locations, institutions).
output_format string
contextual | generic | pseudonym
Replacement style: contextual ([PERSON A]), generic (█████), or pseudonym (consistent invented names).

* Purple = required

POST /api/mcp/user/tools/dbn.redact/invoke

{
  "text": "On 15.03.2024 caseworker Anna Hansen met with...",
  "language": "no",
  "mode": "standard",
  "output_format": "contextual"
}
{
  "ok": true,
  "redacted_text": "On [DATE A] caseworker [PERSON A] met with [PERSON B] at [ADDRESS A]...",
  "replacements": [
    { "original": "15.03.2024", "replacement": "[DATE A]" },
    { "original": "Anna Hansen", "replacement": "[PERSON A]" },
    { "original": "Ola Nordmann", "replacement": "[PERSON B]" }
  ],
  "credits_used": 2
}

Create your MCP token on the setup page and use it with any supported client.

Set up MCP →
Process-and-forget by default. All tool calls process your text in memory and return results to your AI client. Nothing is saved to My Case unless you explicitly call dbn.save_to_case.

Tools provide legal preparation support, not final legal advice. Results are for informational purposes and should be reviewed by a qualified legal professional.