Read a URL as clean text (or check text for prompt injection)
web_readFetch one public URL and return its main content as clean markdown (title, publish date, word count) plus a prompt-injection verdict; raw=true returns the raw body instead (text or base64). Give text instead of url to only scan text you already have for prompt injection. To find pages first use web_search. Price: read $0.004, raw $0.003, text scan $0.002. Fetched live via Cloudflare's network; 1-10 s. Paid with x402 (USDC on Base, Polygon or Solana) per call; failed or empty calls are never charged.
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": "web_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true = raw body (no cleanup), default false. | |
| url | No | Public http(s) URL to read. | |
| html | No | Optional HTML of that text, to also find hidden instructions. | |
| text | No | Instead of url: text to scan for prompt injection. | |
| format | No | raw mode only (default auto). | |
| max_chars | No | Max characters returned (default 20000). |