Skip to content

Web Fetch

The Web Fetch tool retrieves the full content of a web page and makes it available to the AI for reading and analysis. It goes beyond search snippets — the AI gets the complete text of the page.

  • Fetches the full rendered content of a URL
  • Strips navigation, ads, and boilerplate — returns the main content
  • Supports articles, documentation, GitHub pages, and most public web content

ChatShell supports two modes, selected in Settings → Web Fetch:

  • Local (default) — everything runs on your machine. No third-party API sees your URLs.
  • API — sends the URL to the Jina Reader API and returns clean, structured content. Requires a Jina API key.

In Local mode, fetching escalates through a chain of renderers until real content comes back:

plain HTTP → Obscura (optional) → system WebView → headless Chrome
  1. Plain HTTP — fast and enough for most pages. Main-content extraction (Readability) strips navigation, ads, and boilerplate.
  2. Obscura — an optional privacy-focused fetch binary. Nothing is bundled: when it is installed on your machine it joins the chain automatically, and the Web Fetch settings show an install hint when it is missing.
  3. System WebView — the OS web view renders the page like a browser, handling JavaScript-heavy sites.
  4. Headless Chrome — full browser rendering as the last resort for stubborn single-page apps.

Escalation is signal-driven: the chain only climbs when the previous tier returned an empty JavaScript shell (an SPA mount point with no content, or a script-dense page that yielded almost no text). Pages that render fine over plain HTTP never pay for a browser.

To pin the behavior instead of using the automatic chain, choose a strategy in Settings → Web Fetch:

StrategyBehavior
AutoPlain HTTP first, escalate on JavaScript-shell signals (default)
Fetch-onlyPlain HTTP only — fastest, may fail on JavaScript-rendered pages
ObscuraAlways fetch through the Obscura binary (skips HTTP)
System WebViewAlways render in the system WebView
ChromeAlways render in headless Chrome

The AI uses Web Fetch when:

  • A URL is shared directly in the conversation
  • Web Search results need to be read in depth
  • Documentation or reference material needs to be analyzed

“Read the Tokio docs getting started page and summarize the key concepts.”

The AI will use Web Fetch on the Tokio documentation URL and produce a structured summary of the content.

  • Pages behind authentication or paywalls cannot be accessed
  • Continuously-mutating pages may time out in the rendering tiers
  • Very large pages may be truncated to fit the model’s context window