Web Fetch Tool
Fetch a URL and extract its readable content. Always enabled, no configuration required.
Tool Name
web_fetch
Parameters
| Key | Type | Default | Description |
|---|---|---|---|
url | string | โ | The URL to fetch (required) |
max_chars | integer | 20000 | Maximum characters to return |
Behavior
- Fetches URL with browser-like headers (Firefox user-agent, standard Accept headers)
- Attempts readability extraction to get clean article text
- Falls back to full HTML-to-markdown conversion
- Truncates to
max_charsat a safe UTF-8 boundary
Complements Browser Tool
Use
web_fetch for quick content extraction without spinning up Chrome. Use the Browser Tool for interactive pages requiring JavaScript, form filling, or screenshots.