{"version":"2.1.336","anchor":"hook-if-conditions-naming-the-matched-tool-evaluated-more","canonical_anchor":"hook-if-conditions-naming-the-matched-tool-evaluated-more","heading":"Hook if conditions handle the hook's own tool separately","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/hook-if-conditions-naming-the-matched-tool-evaluated-more","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Hook `if` conditions handle the hook's own tool separately\n\nHook `if` conditions that name the hook's own tool are now checked separately, and the skip message names the real tool\n\n**Unclear.** It is not clear which hooks now run or are skipped differently because of the changed check.\n\n**What**\n\nA hook is a command you set up to run when Claude uses a tool, and its `if` condition decides whether it runs. Claude Code now checks a condition that names the hook's own tool separately from other conditions.\n\nWhen a hook is skipped, the message (\"Skipping hook: its if condition\") now names the actual tool. It used to always name Monitor.\n\n**Why**\n\nThis may change which hooks run when a tool is known by more than one name. The skip message now tells you which tool the hook was for.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}