{"version":"2.1.277","anchor":"pretooluse-hook-warnings-identify-the-tool-generically-not","canonical_anchor":"pretooluse-hook-warnings-identify-the-tool-generically-not","heading":"PreToolUse hook warnings identify the tool generically, not by literal name","tier":"internal","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/pretooluse-hook-warnings-identify-the-tool-generically-not","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### PreToolUse hook warnings identify the tool generically, not by literal name\n\nPreToolUse hook warnings now name tools generically instead of by their literal name\n\n**What**\n\n`PreToolUse` hooks (which run before a tool call executes and can block it) can return `permissionDecision=defer`. Warnings shown when this happens in interactive mode, or when multiple tool calls are batched together, now identify the tool using a generic classifier rather than printing its raw name.\n\n**Why**\n\nThis keeps the warning informative without exposing the literal tool name, consistent with similar changes to other tool-related log messages.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}