Web Fetch
webfetchFetches and extracts main text content from any webpage. Executes JavaScript to render dynamic pages and strips images/media to save context tokens.
Instructions
Fetch and extract the main text content from any webpage. Fully executes JavaScript to load React/SPAs and aggressively strips images/media (including base64) to save context tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL of the webpage to fetch (must start with http/https). | |
| template | No | Template to use: 'auto' (auto-detect from URL), a built-in page template name (wikipedia, reddit, mdn-web-docs, gitlab, youtube, devto, go-pkg, javadoc, github-repo, github-issue, npm-package, pypi-package, crates-package, docker-hub, docs-rs, docs-page), 'raw' for minimal-filtering full-page output, or inline JSON. | auto |
| max_length | No | Maximum characters to return per request. Default is 10000. | |
| block_media | No | Block images, videos, and fonts entirely at the network layer. Default is true. | |
| start_index | No | Character offset for pagination. Default: 0. |