Skip to main content

Module types

Module types 

Source
Expand description

Type definitions for Claude Code Hook integration.

This module defines the input/output types for Claude Code Hooks, following the official Claude Code Hooks specification.

Structs§

BashInput
Bash tool input structure.
EditInput
Edit tool input structure.
HookEvent
Hook event received from Claude Code via stdin.
HookFinding
Security finding detected by the hook analyzer.
HookResponse
Response to send back to Claude Code via stdout.
HookSpecificOutput
Hook-specific output structure.
WriteInput
Write tool input structure.

Enums§

HookEventName
Types of hook events.
PermissionDecision
Permission decision for PreToolUse hooks.