webfetch
Fetch web content from URLs and convert HTML to Markdown with built-in security features including ECH encryption, DoH DNS, and SSRF protection.
Instructions
Fetch content from a URL and return it as text. HTML pages are automatically converted to Markdown for readability. Features: ECH (Encrypted Client Hello) and DoH (DNS over HTTPS) enabled by default. Supports HTTP and SOCKS5 proxies. SSRF protection blocks private/internal IPs. Default User-Agent mimics Chrome browser. Custom headers supported. For downloading binary files, use the download tool instead.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch content from (http/https),required | |
| headers | No | Custom HTTP headers (e.g. User-Agent, Accept, Authorization, Referer) | |
| max_length | No | Maximum response length in characters. Default: 100000 | |
| timeout_sec | No | Request timeout in seconds. Default: 30, Max: 120 | |
| proxy_url | No | HTTP or SOCKS5 proxy URL (e.g. http://proxy:8080, socks5://proxy:1080) | |
| no_doh | No | Disable DNS over HTTPS. Default: false (DoH enabled) | |
| no_ech | No | Disable Encrypted Client Hello. Default: false (ECH enabled) | |
| raw | No | Return raw HTML without Markdown conversion. Default: false |