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.329,
ImprovementsSection of the release
What
A hook is a command or call you set up to run automatically. A PreToolUse hook runs before Claude uses a tool and can block it. When such a hook calls an MCP tool (a tool from a connected outside server) that needs a person to approve it, the call cannot ask for that approval. Claude Code now returns a specific error saying the tool needs a person's approval, which a hook's call can't ask for, so this hook gave no verdict. Before, this showed as a generic failure.
Why
A hook that quietly gave no answer is now much easier to diagnose.
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 sinceA small documentation edit on Configure permissions touched a line naming PreToolUse after this was published.[Claude Code hooks](https://code.claude.com/docs/en/hooks-guide.md) let you register custom shell commands that evaluate permissions at runtime. PreToolUse hooks run before the permission prompt. The hook output can deny the tool call, for…permissionssee the edit
Confirmed sinceAnthropic's documentation has since written up PreToolUse, on migration.| `PreToolUse` / `PostToolUse` hooks | Your client already sees every `agent.custom_tool_use` event before responding; put the logic there. For built-in tools, use `permission_policy: always_ask` to review every call. [`auto`](https://plat…managed-agents/migrationsee 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 migration.