redact_phi
Detect and replace PHI identifiers with placeholders in medical text before sending to AI agents.
Instructions
Detect and redact PHI-like identifiers with placeholders.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "redact_phi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Redaction mode. | placeholder |
| text | Yes | Plain text to inspect. |