{"version":"2.1.333","anchor":"pretooluse-hooks-block-the-call-when-their-model-request-was","canonical_anchor":"pretooluse-hooks-block-the-call-when-their-model-request-was","heading":"PreToolUse hooks block the call when their model request is held back over sign-in","tier":"notice","area":"Hooks","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/pretooluse-hooks-block-the-call-when-their-model-request-was","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### PreToolUse hooks block the call when their model request is held back over sign-in\n\nA `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\n\n**What**\n\nA `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.\n\n- 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.\n\n- Errors caused by a mismatch with the session's owner are now sorted into three kinds: owner unknown, same organization, or outside the organization.\n\n**Why**\n\nA 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.\n\n- Area: Hooks\n- Names: `PreToolUse`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}