Scan any text, email, web page HTML or document for prompt injection before your agent reads it
scan_text_for_injectionDetects hidden or suspicious instructions aimed at AI agents in text or HTML: hidden HTML, invisible Unicode (tag-character smuggling), encoded payloads, fake system messages, data-exfiltration, payment-redirect and command-execution orders. Returns risk score, findings and a cleaned version that is safer to pass to an LLM. deep=true adds an AI review. Price 0.002 USDC per call; first 3 calls per day free.
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": "scan_text_for_injection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also run an AI review | |
| mode | No | strip (default) removes risky lines; flag keeps them | |
| text | Yes | Text or HTML to scan (max 200,000 chars) | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. |