Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.232 ·

Blocking web fetches with a PreToolUse hook now explains the consequence

Blocking a web fetch via a hook now tells Claude that's the only fetch route, so it stops retrying.

You'll notice New Features
JSON All of v2.1.232
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
New FeaturesKind: in v2.1.232,
New FeaturesSection of the release
What

If a PreToolUse hook denies a Task call that targets the built-in web-fetch agent, and the session has no direct WebFetch tool available, the error returned to Claude now appends a paragraph saying this is the only route to fetching web pages and that it should tell the user rather than retry.

Details
  • The added text also describes how a hook can exempt this case, by matching on tool_input.subagent_type.
  • It notes the caveat that matching on that name would also let through a project, user or plugin agent defined under the same name.
  • Only appended when there is no separate WebFetch tool in the session.
Evidence

so while this hook blocks it there is no other way to fetch them. If the page is required, tell the user;

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.232 →

Feedback