sanitize-text
Clean and sanitize text prompts by removing sensitive information, normalizing formatting, and providing structured feedback. Supports both general and code-related modes for precise preprocessing.
Instructions
Alias of cleaner. Keywords: sanitize, scrub, redact, filter, pii, normalize, preprocess. Same input/output schema as 'cleaner'.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mode | No | Retouching mode; default 'general'. Use 'code' only for code-related prompts. | |
prompt | Yes | Raw user prompt | |
temperature | No | Sampling temperature (0-2); default 0.2 |
Input Schema (JSON Schema)
{
"properties": {
"mode": {
"description": "Retouching mode; default 'general'. Use 'code' only for code-related prompts.",
"enum": [
"code",
"general"
],
"type": "string"
},
"prompt": {
"description": "Raw user prompt",
"type": "string"
},
"temperature": {
"description": "Sampling temperature (0-2); default 0.2",
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
}