woopcode docs
v1.0.0 GitHub

web_fetch

Fetch and extract content from a specific URL.

Use this to:

  • Read documentation pages
  • Fetch article content
  • Get data from specific web pages
  • Read content found via web_search

Supports:

  • HTML pages (converts to readable text)
  • Plain text
  • JSON data
  • Markdown

Max response size: 5MB Default timeout: 30 seconds Read-only: it never changes the workspace and never asks for approval.

Parameters#

Parameter Type Required Description
url string Yes The URL to fetch content from (must start with http:// or https://)
format string No Output format: 'text', 'markdown', or 'html' (default: 'markdown')
timeout number No Timeout in seconds (default: 30, max: 120)

Example#

web_fetch({ url: "…" })

Approval#

Runs without asking. Reads only; never changes the workspace.

See also#

  • Tools — every tool, and which of them can change your files
  • Approval modes — what gates the tools that change things

Added in woopcode@0.6.0