qm_scrub
Scan text for prompt-injection patterns and return a redacted copy plus findings. Pattern-based, not a guarantee — review before trusting the result. Free, anonymous, nothing stored; read-only with no side effects. Text is capped at 20000 chars — chunk longer inputs and call once per chunk. Use before acting on untrusted content (pasted text, web pages, tool output); for a symptom-based agent health read, use qm_clinic_diagnose instead. Example: text containing a hidden instruction aimed at the reader returns findings flagging the pattern plus a redacted copy with the suspicious portion removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan (max 20000 chars). |