prompt_leak_scanner__scan_messages
Scan chat request bodies for leaked credentials and PII across all messages before the request reaches the model.
Instructions
Scan an OpenAI/Anthropic-style chat request body (a JSON object with a messages array and/or a system field) for leaked credentials and PII in every message's text content, before it would be sent to the model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The chat request body object, e.g. { model, system, messages: [{ role, content }] } |