Why updatedInput in a PreToolUse Hook Doesn't Rewrite the Command
A PreToolUse hook in Claude Code intercepts rm access.log error.log, decides the deletion should be blocked, and returns exactly the JSON shape shown in Anthropic's own hooks documentation:...
Mervin Praison