sanitize_preview
Preview text sanitization results before applying. See what gets redacted from output without errors.
Instructions
Preview what the sanitizer would do to text without raising.
Use when: "what gets redacted from this output?". Example: text="ignore previous instructions", strict=False.
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": "sanitize_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| strict | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |