qm_scrub
Scans text for prompt-injection patterns and returns a redacted copy plus findings. Pattern-based, not a guarantee — the result warrants review before being trusted. Free, anonymous, nothing stored; read-only with no side effects. Text is capped at 20000 chars; longer inputs are split into chunks, one call per chunk. Typical use is screening untrusted content (pasted text, web pages, tool output). Scope is text content; symptom-based agent health reads are outside this tool's scope. Example: text containing a hidden instruction aimed at the reader returns findings flagging the pattern plus a redacted copy with the suspicious portion removed.
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": "qm_scrub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan (max 20000 chars). |