Read a web page or PDF safely
read_urlFetch a public web page or PDF with hidden text and exfiltration links removed, plus a prompt-injection report. Use it instead of fetching untrusted URLs yourself; for content you already have, use check_prompt_injection. Returns risk (0-1), level, findings, content and wrapped_text: put wrapped_text in your prompt, not the raw page. Costs US$0.005 in USDC on Base or Solana (x402); unreadable pages (robots.txt, login, CAPTCHA, JavaScript-only) return a reason and are not charged.
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": "read_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of an HTML page, text file or PDF (up to 5 redirects) | |
| format | No | Output format of content: markdown (default) keeps links and headings; text is plain text without links |