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.326 ·

A message now explains when the host app does not answer a PreToolUse hook

If the app driving Claude Code does not answer a PreToolUse hook, a message says file tools are limited to the folders it allowed

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

A PreToolUse hook is a check that runs before Claude uses a tool, such as reading or editing a file, and it can block that use. When Claude Code runs inside another app and that app does not answer this check, Claude Code now shows a message saying so.

The message explains that until the app answers, file tools work only in the folders the app allowed for this session.

Why

Without this message, file tools could stop working outside some folders with no explanation. Now you can see why.

Read from
Names in the bundlePreToolUse
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.

Added since A small documentation edit on Handle approvals and user input touched a line naming PreToolUse after this was published. > To check calls that run without your callback, such as file reads inside your [working directories](https://code.claude.com/docs/en/permissions.md#working-directories), use a [`PreToolUse` hook](https://code.claude.com/docs/en/agent-sdk/… agent-sdk/user-input see the edit
Confirmed since Anthropic's documentation has since written up PreToolUse, on Choose a permission mode. > * Outside Code Mode, the classifier reviews messages Claude sends to another agent with [`SendMessage`](https://code.claude.com/docs/en/tools-reference) before Claude Code delivers them. If an allow rule matches `SendMessage` or a `PreTo… permission-modes see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up PreToolUse, on Choose a permission mode.

See this entry in the whole of v2.1.326 →

Feedback