{"version":"2.1.330","anchor":"hook-matching-gains-exceptcallbacks-and-exceptownsettings-op","canonical_anchor":"hook-matching-gains-exceptcallbacks-and-exceptownsettings-op","heading":"PostToolUse hooks are now filtered by tool name","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/hook-matching-gains-exceptcallbacks-and-exceptownsettings-op","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### PostToolUse hooks are now filtered by tool name\n\nClaude Code now picks PostToolUse hooks by the name of the tool that ran, and its hook check can skip some hook sources\n\n**Unclear.** Whether existing PostToolUse hooks now fire in more or fewer cases than before is not clear.\n\n**What**\n\nHooks are your own commands that Claude Code runs at set moments. `PostToolUse` hooks run after a tool call succeeds. Claude Code now chooses which `PostToolUse` hooks to run by the name of the tool that was used.\n\nThe internal check for whether any hooks are set up can also now leave out hooks registered from code, and hooks from its own settings.\n\n**Why**\n\nThis can change which hooks fire after a tool runs.\n\n- Area: Hooks\n- Names: `PostToolUse`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}