Skip to content

web-fetch

Fetch content from a URL.

Category: Read-only

Parameters

url (required)
The URL to fetch. Must start with http:// or https://.
format (optional)

Output format. Default: markdown.

Value Description
markdown Converts HTML to Markdown (scripts, styles, and iframes stripped)
html Raw HTML
text Plain text with all markup stripped
timeout (optional)
Request timeout in seconds. Range: 1–120. Default: 30.

Output

The fetched content in the requested format. If the response exceeds 5 MB, the content is truncated and a note is appended.

Limitations

  • Images are not supported and return an error.
  • Maximum response size: 5 MB (larger responses are truncated).
  • Timeout range: 1–120 seconds.