You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.295,
ImprovementsSection of the release
What
Hooks are actions that run automatically at set points. A PreToolUse hook runs before a tool call (an action Claude wants to take), and a PermissionRequest hook runs when a tool call needs a permission decision. Either one can send back updatedInput to change what the tool call does.
That change is now allowed only when the hook runs in the same environment as the tool call. If a plugin hook ran on another machine and changed the input of a call that runs here, Claude Code:
refuses the call
tells Claude to carry on without it and to tell you that a plugin hook changes this tool's input
logs a warning and lets the plugin know its change was refused
Why
This keeps a hook running elsewhere from quietly changing what happens on the machine doing the work. If you write plugins, calls whose input your hook changes across machines will now be denied.
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 Automate actions with hooks touched a line naming updatedInput after this was published.* When multiple `PreToolUse` hooks return [`updatedInput`](https://code.claude.com/docs/en/hooks#pretooluse) to rewrite a tool's input, Claude Code doesn't merge the rewrites or guarantee which rewrite the tool runs with. Avoid having more…hooks-guidesee the edit
Confirmed sinceAnthropic's documentation has since written up updatedInput, on Hooks reference.| `permissionDecision` | `"allow"` skips the permission prompt, except for the [actions no mode auto-approves](/docs/en/permission-modes#actions-no-mode-auto-approves), for [reads from network paths](/docs/en/permissions#network-paths), an…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 updatedInput, on Hooks reference.