anb_redact
Scrub text by replacing secrets and high-entropy tokens with placeholder values to prevent data leakage before logging or output.
Instructions
Scrub text: replace known secret values and high-entropy tokens with agent-vault:key placeholders. Read-only, idempotent, no side effects, and needs no Bob connection. Fail-safe by design — may over-redact, never under-redact. Use before logging or returning any text that might contain a secret.
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": "anb_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to scrub; known secret values and high-entropy tokens become <agent-vault:key> placeholders |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redacted | Yes | the input with secrets replaced by placeholders |