prompt_leak_scanner__scan_messages
Scans OpenAI/Anthropic-style chat request bodies for leaked credentials and PII in every message and system text before the request is sent to 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.
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": {
"body": "<body>"
},
"name": "prompt_leak_scanner__scan_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The chat request body object, e.g. { model, system, messages: [{ role, content }] } |