prompt_injection_check
Check untrusted text (a web page, email, document or tool output) for prompt injection before an agent reads it: instruction overrides, role and chat-template spoofing, data exfiltration links, wallet-drain and key requests, commands, and hidden text (zero-width, Unicode tag smuggling, bidi, HTML comments). Rules plus an LLM judge; returns safe/suspicious/malicious, a 0-100 score, findings with evidence and the text with hidden characters removed. Costs $0.005 USDC on Base via x402.
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 check, up to 50,000 characters | |
| model | No | Also ask the LLM judge (default true); false for rules only |