Fetch web pages
web_fetch- Group
- Web
- Turned on by
- The Web fetch switch on the Advanced tools page of Conversation settings.
- Approval
- Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
- Profile key
tool.web_fetch.description
Fetches up to 20 web pages by URL and brings their text into the conversation.
The model has it whenever the Web fetch switch (Conversation settings → Advanced tools) is on. With Native as the Fetch provider, only Anthropic Messages, AWS Bedrock and Claude Agent models have it; on Claude Agent that is Claude Code's own WebFetch, which returns the page as Claude Code's model rewrote it, not the raw text. Setup is on Web search and fetch.
When it asks you
One card lists every URL in the call.
Limits
- fetch, the provider that runs on your computer, takes at most 4 MiB and 30 seconds per page. It runs no JavaScript, so a page that builds itself in the browser can come back empty.
- Each page is cut to the Result compression limit, 2,000 tokens by default; 0 keeps pages whole. The limit is per page, not shared by the call, and only a provider with a length setting (fetch, Jina) shows the row. Native sends it to the upstream on Anthropic Messages and AWS Bedrock; Claude Agent has no such limit. See Shaping results.
Good to know
- fetch refuses private and local addresses, except a local address the model names directly at Full access, such as your dev server. Redirects into your local network and links taken from search results are always refused.
- If the chosen provider is not set up or stops working, the model still has
web_fetch, and fetches fail with an error the model can pass on to you. - On a model with no native fetch, a saved Native choice counts as off: the Web fetch switch reads off and the model has no
web_fetch. The choice itself is kept for when you use a model that has one.
Parameters
| Parameter | Type | Details |
|---|---|---|
urls requiredURLs | string[] | Absolute http(s) page URLs. Search first when you do not know the URL. |