web_fetch
Fetch a specific URL and return its content as clean markdown, text, or HTML. Provide a fully-formed URL to get the full page in your preferred format.
Instructions
Fetches content from a specified URL and converts it to readable format
Use this when you have a specific URL to retrieve (not for searching)
Takes a URL and optional format as input
Fetches the URL content, converts to requested format (markdown by default)
Returns the full page content in the specified format
Usage notes:
Use web_search first to find URLs, then use this tool to fetch their content
If the user is asking for library/framework/package/API documentation, prefer Context7 tools before web_fetch
The URL must be a fully-formed valid URL
HTTP URLs will be automatically upgraded to HTTPS
Format options: "markdown" (default), "text", or "html"
Response size limit: 5MB
Maximum timeout: 120 seconds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 要抓取的 URL | |
| format | No | 返回格式 (默认: markdown) | markdown |
| timeout | No | 超时时间(秒),1-120秒 |