Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Turn off web page fetching with CLAUDE_CODE_DISABLE_WEB_FETCH

Setting the environment variable CLAUDE_CODE_DISABLE_WEB_FETCH turns off WebFetch, the tool Claude uses to download web pages

Use it now Notable New Features
JSON All of v2.1.285
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Web FetchArea: what it touches
New FeaturesKind: in v2.1.285,
What probably matters to youSection of the release

Unclear Other parts of Claude Code also read this variable, and it is not clear what it changes there.

What

Claude Code now reads a new environment variable, CLAUDE_CODE_DISABLE_WEB_FETCH. An environment variable is a named value you set in your shell or system before starting Claude Code. When this one is set, the WebFetch tool is turned off. WebFetch is the tool Claude uses to download a web page and read it.

Why

It gives you, or an administrator, a simple way to stop Claude Code from fetching web pages.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_DISABLE_WEB_FETCH, on Tools reference. On Claude Code v2.1.285 or later, set [`CLAUDE_CODE_DISABLE_WEB_FETCH`](/docs/en/env-vars#variables) to `1` to turn WebFetch off. tools-reference see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtOther parts of Claude Code also read this variable, and it is not clear what it changes there.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_DISABLE_WEB_FETCH, on Tools reference.
Anthropic's release notes agreeAdded CLAUDE_CODE_DISABLE_WEB_FETCH environment variable to turn off the WebFetch tool
The name it cites is new in this buildNew in this build: CLAUDE_CODE_DISABLE_WEB_FETCH

See this entry in the whole of v2.1.285 →

Feedback