Fetch a URL as clean text/markdown (RAG-ready)
fetch_urlFetches any public http(s) URL, strips boilerplate (scripts, nav, footer, ads), and returns clean text or markdown ready for an LLM context window. SSRF-guarded — refuses private/loopback/internal hosts. Returns url, title, format, length, content (and finalUrl when redirected, plus up to 50 extracted links when links=true), with a meta envelope. Works with no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch (public http/https only). | |
| links | No | Also return up to 50 extracted links. Default false. | |
| format | No | Output format. Default text. | |
| maxChars | No | Max characters of content returned, clamped 500-500000. Default 100000. |