web_fetch
Fetch any web page and extract its main content as clean Markdown, removing navigation and ads.
Instructions
Fetch a web page and extract its content as Markdown.
Uses readability to extract the main content from the page, removing navigation, ads, and other clutter. Then converts the clean HTML to Markdown format.
Example: web_fetch(url="https://example.com/article")
web_fetch(
url="https://docs.microsoft.com/en-us/azure/...",
include_links=True,
include_images=True
)Args: url: The URL to fetch extract_content: Use readability to extract main content (default: True) include_links: Include hyperlinks in output (default: True) include_images: Include image references (default: False) timeout: Request timeout in seconds (default: 30)
Returns: Dictionary with title, content (markdown), url, and metadata
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": "web_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch | |
| extract_content | No | Use readability to extract main content (default: True) | |
| include_links | No | Include hyperlinks in output (default: True) | |
| include_images | No | Include image references (default: False) | |
| timeout | No | Request timeout in seconds (default: 30) |