safe_fetch
[$0.015 USDC via x402] Security shield for wallet-enabled AI agents: fetches any public URL, strips hidden prompt injections (zero-width unicode, invisible CSS/HTML comments, system-override directives, data-exfiltration links), and returns sanitized Markdown + SHA-256 digest + GO/WARN/BLOCK verdict.
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": {
"url": "<url>"
},
"name": "safe_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL to fetch and sanitize against prompt injections. | |
| max_chars | No |