agent_guard_sanitize
Hybrid Edge AI firewall (@cf/meta/llama-guard-3-8b + multi-language regex + Base64 decoder) that detects prompt injection and masks corporate PII/secrets (0.008 USDC via x402 on Base).
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": "agent_guard_sanitize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Untrusted external input (scraped HTML, email, support ticket, webhook) to inspect and sanitize | |
| maskPii | No | Redact emails, credit cards, CPFs, CNPJs, API tokens, and private keys (default: true) | |
| deepScan | No | Run Cloudflare Workers AI (@cf/meta/llama-guard-3-8b) semantic classifier (default: true) |