Web Fetch
webfetchFetch web pages with a JavaScript-capable stealth browser and return the main content as Markdown, stripping images, scripts, and styles to reduce token bloat.
Instructions
Fetch a web page in a JavaScript-capable stealth browser and return its main content as Markdown, with images, scripts and styles stripped. Long output is paginated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "webfetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the page to fetch. | |
| template | No | 'auto' (detect from the URL), a template name (github-repo, github-issue, npm-package, pypi-package, crates-package, docs-rs, javadoc, docs-page, docker-hub, wikipedia, gitlab, reddit, mdn-web-docs, devto, go-pkg, youtube, raw), or an inline JSON template. 'raw' converts the whole page with minimal filtering. | auto |
| max_length | No | Maximum characters to return. Default: 10000. | |
| block_media | No | Block images, media and fonts at the network layer. Default: true. | |
| start_index | No | Offset in characters (Unicode code points) for pagination. Default: 0. |