ClaudeCode.Hook.PermissionDecision.Deny (ClaudeCode v0.36.3)
View SourceDenies a tool from executing, with an optional message and interrupt flag.
Returned from :can_use_tool callbacks and PermissionRequest hooks.
Shorthand: {:deny, message: "reason"}.
Fields
:message- explanation shown to the user for the denial:interrupt- whentrue, interrupts the agent instead of continuing