Expand description
HTTP fetch tool (WebFetch).
WebFetch tool — retrieve content from a URL.
Fetches a web page and converts HTML to readable text.
Body cap is set by OutputCaps (context-scaled).
§Parameters
url(required) — The URL to fetch
§Behavior
- HTML pages are converted to clean text (strips tags, scripts, styles)
- JSON and plain text are returned as-is
- Output is truncated to context-scaled caps
- Follows redirects (up to 10 hops)
- Timeout: 15 seconds (see
DEFAULT_TIMEOUT_SECS)
Functions§
- definitions
- Return tool definitions for the LLM.
- web_
fetch - Fetch a URL and return its content.