Prompt-injection scan for untrusted web, email and tool content
input_guardPrompt-injection and hidden-instruction scan for untrusted input before an agent acts on it: web pages, emails, RAG chunks, tool and MCP responses. Flags text aimed at the model (role takeover, forged system or tool turns, requests for keys, the prompt, history or payments, exfiltration links), invisible Unicode (tag smuggling decoded, zero-width, bidi), homoglyphs, base64 payloads and HTML hidden from humans, in 17 languages. Verdict clean, caution or hostile, score, findings, cleaned text. 0.99 USDC base (new payers 0.99, >10 payments 0.693; 20 pack calls). After: preflight before your agent pays anything the content pointed to (the result's next field has the exact call).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "input_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | a public https page to fetch once and check (256 KB) | |
| text | No | the content to check (send text or url) | |
| payment_tx | No | Hash of a USDC transfer on Base to payTo (≥ the price, ≤ 72 h old) instead of an x402 signature. | |
| bundle_token | No | Token from buy_signal_pack, buy_subscription (pro/desk) or buy_enterprise instead of paying per call. | |
| payer_address | No | Wallet you pay from: the payment-required error quotes your tier (0 payments base price (new-payer surcharge paused), 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend. |