web_fetch
Fetch a URL’s page content as Markdown with automatic provider failover, optional batch support for up to five URLs, and per-call provider overrides.
Instructions
Fetch one URL's page content as Markdown with automatic provider failover (default: AnySearch -> Tavily -> DDGS.extract; operators can reorder the chain with UWR_FETCH_CHAIN). Auth is automatic (keyed when a key is configured, else official keyless). Accepts a single url string, or urls array (max 5) for batch. providers overrides the chain order for this call. Returns JSON array of {url, content, title, content_type, truncated, original_length, provider, mode, latency_ms, attempts} — truncated: true means content was cut at WEB_RETRIEVAL_EXTRACT_CHAR_LIMIT and original_length is the pre-cut character count; failed URLs carry an error field instead. A CDN/CAPTCHA interstitial (Cloudflare "Just a moment…", Akamai "Access Denied") is not returned as content: it is a fallback-eligible error, so the chain tries the next provider. Private, loopback and link-local targets are fetched like any other URL by default; with WEB_RETRIEVAL_BLOCK_PRIVATE=1 they are refused instead. That opt-in check is a target heuristic, not SSRF protection (no protection against DNS rebinding or a redirect hop at the provider). Note: JS-rendered, login-walled or CAPTCHA-protected pages are not guaranteed. PRIVACY: each entry echoes the caller's URL verbatim in url, on success and on failure, so the link stays usable — a credential inside that URL (?token=, ?sig=, ?api_key=) is therefore returned in cleartext, not scrubbed (only an exact value of a provider key configured here is still stripped). error and attempts are scrubbed; url and content are not. The payload enters this conversation and may be recorded in session transcripts or chat logs and sent to the model provider serving it. Prefer short-lived signed URLs and revoke them after the fetch; redaction is not a confidentiality guarantee.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| urls | No | ||
| providers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |