Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

PreToolUse hooks block the call when their model request is held back over sign-in

A PreToolUse hook whose model request was held back over the session's sign-in now blocks the tool call, and owner mismatches are told apart

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

What

A PreToolUse hook is a command you set up to check each tool call, meaning each action Claude takes, before it runs. Such a hook can block the call. Some of these hooks ask a model for a verdict. Claude Code can hold back a request when the sign-in does not match the profile that owns the session.

  • If one of a hook's model requests was held back over the sign-in and the hook then gives no verdict, the tool call is now blocked. The message reads: "Blocked: this call was not run, because the hook could not check it. Claude Code did not send the hook's request on this session's sign-in." Before, only a redirected model call (api_redirect) blocked the call.
  • Errors caused by a mismatch with the session's owner are now sorted into three kinds: owner unknown, same organization, or outside the organization.

Why

A hook that cannot check a call now fails closed. The call does not run, rather than running unchecked. If tool calls start getting blocked with this message, check which account you are signed in with.

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.

Confirmed since Anthropic's documentation has since written up PreToolUse, on Automate actions with hooks. Agent hooks use the `"ok"` / `"reason"` response format and run for up to 50 tool-use turns. They don't support the prompt-hook `impossible` field. On `ok: false`, Claude Code handles an agent hook the way it handles a prompt hook with `co… hooks-guide 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 Automate actions with hooks.

See this entry in the whole of v2.1.333 →

Feedback