You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
What
A PreToolUse hook is a script you set up that runs before Claude Code uses a tool (an action such as running a command or editing a file) and can block it. A hook can answer "defer". Before this change, a defer was always turned into a denial carrying the hook's message.
Now, in non-interactive or remote sessions, a defer on a tool call that stands on its own can instead produce a parked record of the call, hook_deferred_tool. This applies only when the call's data is under 300,000 bytes. Otherwise it is still denied.
Why
A deferred tool call can be picked up again later instead of being thrown away as a refusal.
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 Choose a permission mode touched a line naming PreToolUse after this was published.Claude still runs actions that need no approval in Manual mode, such as file reads inside your working directories and [read-only Bash commands](https://code.claude.com/docs/en/permissions.md#read-only-commands). Most calls that your `perm…permission-modessee the edit
Confirmed sinceAnthropic's documentation has since written up PreToolUse, on Hooks reference.The hook doesn't run when you deny a permission dialog, when a `PreToolUse` hook blocks a call, or when a `deny` rule matches.hookssee 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 Hooks reference.