{"version":"2.1.312","anchor":"hook-tool-input-repair-reworked","canonical_anchor":"hook-tool-input-repair-reworked","heading":"Changed repair of tool input passed to hooks","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/hook-tool-input-repair-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### Changed repair of tool input passed to hooks\n\nClaude Code reworked how it fixes up a tool's input before passing it to hooks, now keeping extra fields and checking more tools\n\n**Unclear.** It is not clear what a hook now receives that it did not before.\n\n**What**\n\nA hook is a script you set up to run when Claude uses a tool. Claude Code passes it the tool's input. Before passing it on, Claude Code repairs badly formed input. That repair now also keeps extra fields the input carried. When looking up the tool, it now searches an additional list of tools too.\n\n**Why**\n\nHooks may now receive slightly different input when the original was badly formed.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}