{"version":"2.1.326","anchor":"hook-updated-input-ignored-in-one-case","canonical_anchor":"hook-updated-input-ignored-in-one-case","heading":"A hook's rewritten tool input is not applied in one case","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/hook-updated-input-ignored-in-one-case","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### A hook's rewritten tool input is not applied in one case\n\nIn one case, a tool input rewritten by a permission hook marked to be kept is now skipped instead of applied\n\n**Unclear.** The setting that decides this case, and what marking a rewrite as kept means, are not shown.\n\n**What**\n\nA hook is an action Claude Code runs automatically at set points, and a permission hook can rewrite the input of a tool call, one action Claude takes. Before, that rewritten input was always used. Now, when the rewrite is marked to be kept, another input is already set, and a certain setting is off, the rewrite is skipped.\n\n**Why**\n\nThis could change which input a tool ends up running with after a hook rewrites it.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}