Prompt injection detector
prompt_injection_checkScreen untrusted text such as web pages, emails, tool outputs, and user messages for prompt injection or jailbreak attempts before an agent reads it. Returns a verdict, risk score, and reasons.
Instructions
Screen untrusted text (web pages, emails, tool outputs, user messages) for prompt injection and jailbreak attempts before your agent reads it: rule-based signals (instruction overrides, secret or fund exfiltration, fake role tags, hidden unicode) plus an LLM judge. Returns a verdict, risk score and reasons. Costs $0.002 per call.
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": "prompt_injection_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The untrusted text to screen. | |
| source | No | Where the text came from (helps the judge). |