scan_text
Scan text for prompt injection, data exfiltration, credential leaks, and other AI agent security threats. Returns findings, severity, and a decision to allow, block, quarantine, or redact.
Instructions
Scan text for prompt injection, data exfiltration, credential leaks and other AI agent security threats. Returns findings, a severity, a decision (allow, block, quarantine or allow_redacted) and inspection_complete. The decision is reported to the caller and is not enforced. This tool blocks nothing and returns the matched text of each finding in full, allow_redacted included. isError false means the scan ran, not that the input is clean. Read is_clean and inspection_complete in the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text content to scan for security threats. | |
| channel | No | The input channel type. Affects which patterns are checked. Unknown channels are rejected (fail closed). | message |