Clean Untrusted Text
cleanroom_sanitize_textFree instant cleaner that strips hidden instructions, invisible characters, and unsafe page code from third-party text or menus, returning safe copy with a verification fingerprint.
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": "cleanroom_sanitize_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Untrusted text, webpage snippet, menu copy, or third-party note to clean before passing to an AI model. | |
| max_chars | No | Maximum cleaned character length to return (default 12000). | |
| strip_html | No | Set to true (default) to remove HTML tags and scripts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| raw_sha256 | No | ||
| clean_sha256 | No | ||
| clean_content | No | ||
| threats_detected | No |