guardrail_sanitize_text
Runs the Edge Security Sanitizer on arbitrary text to redact API keys, AWS credentials, PEM private keys, Luhn credit cards, and optional general PII.
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": "guardrail_sanitize_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan and redact. | |
| redactPii | No | Also redact emails, phone numbers, and US SSNs as [REDACTED_PII]. |