web-fetch-guide
Mastering OpenClaw's web_fetch Tool
The web_fetch tool is one of OpenClaw's essential lightweight utilities for retrieving and processing web content—without launching a full browser. It's designed for speed, simplicity, and integration into automated workflows.
What web_fetch Does
At its core, web_fetch performs two operations:
- HTTP GET Request: Retrieves raw HTML content from the provided URL.
- Readable Content Extraction: Uses Readability.js (and optionally Firecrawl) to strip away clutter—sidebars, ads, headers, footers—and delivers clean, structured text or Markdown.
This makes web_fetch ideal for:
- Extracting article content
- Reading documentation
- Grabbing blog posts
- Processing forum threads
- Capturing API documentation
Unlike browser automation, web_fetch does not execute JavaScript, making it fast but unsuitable for dynamic or client-rendered pages.
Key Parameters
| Parameter | Description | Example |
|---------------|-----------------------------------------------|--------------------------------------|
| url | Required HTTP/HTTPS URL | https://example.com/article |
| extractMode | Output format: markdown or text | `
Enjoyed this article?
Join the ClawMakers community to discuss this and more with fellow builders.
Join on Skool — It's Free →