LIVE
Mistral Makes Large 4 Available as Open Weights29/10/26 · Mistral AI|Gemini 4 Carbon tops the Artificial Analysis Intelligence Index v529/10/26 · Google|Mistral Large 4 now available on Hugging Face29/10/26 · Mistral AI|Google Introduces "Gemini 4 Carbon" as Next Step in Its Model Lineup28/10/26 · Google|DeepMind unveils Genie 4, a new generation of world model27/10/26 · Google DeepMind|Anthropic files IPO prospectus, with risk disclosures taking center stage26/10/26 · Anthropic|Robot policy trained only in simulation matches top real-world systems26/10/26|OpenAI unveils GPT-6.1 Terra, a model built for computer use26/10/26 · OpenAI|New benchmark checks whether LLMs actually test their temporal medical claims29/10/26|An ODE-based sampling method speeds up discrete diffusion models29/10/26|OpenAI revises its Model Spec with five guiding values for AI behavior29/10/26 · OpenAI|Inside Proton's internal clash over its AI pivot29/10/26 · Proton|Mistral Makes Large 4 Available as Open Weights29/10/26 · Mistral AI|Gemini 4 Carbon tops the Artificial Analysis Intelligence Index v529/10/26 · Google|Mistral Large 4 now available on Hugging Face29/10/26 · Mistral AI|Google Introduces "Gemini 4 Carbon" as Next Step in Its Model Lineup28/10/26 · Google|DeepMind unveils Genie 4, a new generation of world model27/10/26 · Google DeepMind|Anthropic files IPO prospectus, with risk disclosures taking center stage26/10/26 · Anthropic|Robot policy trained only in simulation matches top real-world systems26/10/26|OpenAI unveils GPT-6.1 Terra, a model built for computer use26/10/26 · OpenAI|New benchmark checks whether LLMs actually test their temporal medical claims29/10/26|An ODE-based sampling method speeds up discrete diffusion models29/10/26|OpenAI revises its Model Spec with five guiding values for AI behavior29/10/26 · OpenAI|Inside Proton's internal clash over its AI pivot29/10/26 · Proton|
Toolofficial publisher

web_fetch (Anthropic)

Tool : A precise action the AI can call · requires anthropic-api

Fetches and reads a page or PDF at a given URL.

Useful alongside web_search; it is the classic indirect injection vector and should be scoped by domain.

Overall score
6.9 /10
Security: one caveat, see the card
Utility
8.0
Reliability
6.0
Security
One caveat
Ease
1 click · Comfortable

Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.

What it does, concretely

When an agent or application needs to read the content of a web page or PDF document at a specific address, it requires a mechanism to retrieve that content and pass it to the model without the developer having to manage network requests manually. That is exactly what web_fetch solves.

In practice, you add the tool to your API request and Claude decides on its own when to trigger a fetch, based on URLs present in the conversation. The API performs the request server-side, inserts the text content into the context, and Claude can then analyse, summarise or cite that content. For PDFs, the content is returned as base64-encoded data and processed like a directly attached document. Recent versions of the tool allow Claude to write and execute code to filter fetched content before it enters the context window, reducing token consumption.

This tool is aimed at developers building agents or automation pipelines via the Claude API who need the model to read documentation pages, articles or PDFs at known URLs. It works well on its own or combined with web_search, which can first locate a resource before web_fetch reads its content.

It is not suited to pages rendered dynamically by JavaScript, interactive forms or interfaces requiring a real browser: for those cases, the browser_use tool is more appropriate. It is also not available on Amazon Bedrock or Google Cloud, and Azure-hosted deployments on Microsoft Foundry only have access to the basic version without dynamic filtering.

What it offers

  • ·Server-side retrieval of web pages and PDFs at a given URL, with no network code to write. (paid)
  • ·Dynamic content filtering: Claude writes and executes code to keep only relevant passages before they enter the context, reducing token consumption (versions web_fetch_20260209 and later). (paid)
  • ·allowed_domains parameter to restrict fetches to a list of approved domains. (paid)
  • ·blocked_domains parameter to explicitly exclude certain domains (cannot be combined with allowed_domains). (paid)
  • ·max_uses parameter to limit the number of fetches per request. (paid)
  • ·max_content_tokens parameter to cap the amount of content loaded into the context. (paid)
  • ·Optional citations of retrieved passages, enabled via the citations parameter. (paid)
  • ·On-demand cache bypass via use_cache: false, to retrieve fresh content from rapidly changing sources (version web_fetch_20260309 and later). (paid)

In practice

Price
Paid
Commercial use
Commercial use: yes
Available on
api
Host
anthropic-api
FR interface
No

Security and data

Rating
Security: one caveat, see the card
Capabilities
readswritesexecutesnetwork
Your data
Data with the vendor
Maintenance
Active

Links and repository checked on 25 October 2026 · added on 1 August 2025

How to install web_fetch (Anthropic)

1. Obtain an Anthropic API key at platform.claude.com. 2. Install the Anthropic Python or TypeScript SDK in your project. 3. Add the tool object {"type": "web_fetch_20260318", "name": "web_fetch"} to the tools array of your messages.create request. 4. Set the allowed_domains parameter to restrict accessible domains before any production deployment. 5. Test with a known URL in the user message content field: Claude will trigger the fetch automatically. 6. Adjust max_uses and max_content_tokens according to the expected content volume to keep token consumption under control.
tools=[{"type":"web_fetch_20260209","name":"web_fetch"}]

Official documentation ↗

In the same category

Whole category Feed (memory, context) →