redact_text
Redacts PII and secrets from text, routes detected data through a human review workflow, and returns approved redacted text or a withheld notice.
Instructions
Redact PII/secrets from text. Blocks until the user approves the redaction in the review UI (instant when nothing is detected). Returns the approved redacted text or a withheld notice.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |