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.
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.
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
Anthropic's documentation has since written up PreToolUse, on Automate actions with hooks.