Unclear It is not clear whether hooks can already be set up for the tool.judge and tool.run stages.
Hooks are your own commands that Claude Code runs at set points. Two new stages for tool hooks appear: tool.judge and tool.run.
New reason codes also appear, covering these cases:
ultrareview_off_for_organization: the ultrareview feature is turned off for the organization.session_env_vars_disabled: session environment variables are disabled.compact_prompt_round_kept: a prompt round was kept during compaction, which is when Claude Code summarizes the conversation to free up space.compact_reply_refused: the reply to a compaction request was refused.
A new field about results being placed beside running tool calls is also recorded in usage data.
These point to a rework of when tool hooks run and to new handling for a compaction summary that is refused.
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.
| `tool.run` | An allowed call is about to run. Requires Claude Code v2.1.326 or later. | `next(e)`, `{ deny: reason }`, or `{ result }` |plugins/mods/reference see the edit
| `tool.judge` | [Auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) is about to ask its classifier about a call. Requires Claude Code v2.1.326 or later. | `next(e)` or `{ decision }` |plugins/mods/reference see the edit
It is not clear whether hooks can already be set up for the tool.judge and tool.run stages.
Anthropic's documentation has since written up tool.judge, on Mods reference.