{"version":"2.1.331","anchor":"auth-hook-rewrite-denial-extends-to-permissionrequest-hooks","canonical_anchor":"auth-hook-rewrite-denial-extends-to-permissionrequest-hooks","heading":"PermissionRequest hooks that change a tool call can now have the call denied","tier":"notice","area":"Hooks","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/auth-hook-rewrite-denial-extends-to-permissionrequest-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### PermissionRequest hooks that change a tool call can now have the call denied\n\nClaude Code's denial of tool calls changed by a hook now also covers `PermissionRequest` hooks, under an extra condition\n\n**Unclear.** When the extra condition holds for `PermissionRequest` hooks is not stated.\n\n**What**\n\nA hook is a script you configure to run when something happens in Claude Code. A tool call is one action Claude takes, such as running a command. Claude Code can deny a tool call when a hook has changed it, and reports that the hook changed the call.\n\nThat check now also covers `PermissionRequest` hooks, which run when a tool call needs a permission decision. It applies to them only under an extra condition. Before, it applied only in a narrower case.\n\n**Why**\n\nIf a `PermissionRequest` hook of yours rewrites a tool call, that call may now be denied.\n\n- Area: Hooks\n- Names: `PermissionRequest`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}