Unverified50% confidenceFactExact time
Common hook events in Claude Code include before and after tool calls (PreToolUse / PostToolUse), the agent stopping output (Stop), session start and end, and the notification point when user permission approval is required.
1
Sources
50%
Confidence
Long-term
Relevance
10/22/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code's Hooks have five lifecycle events: User Prompt Submit, Pre-tool Use, Post-tool Use, Notification, and Stop.80% similarUnverifiedHook event types include PreToolUse, PostToolUse, and Notification; if a PreToolUse script returns exit code 2, the tool call is blocked.72% similarUnverifiedSetting interrupt_before=action when compiling a graph in LangGraph allows execution to be interrupted before a tool is called in order to await human approval.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1084677API
curl https://kongchang.com/api/v1/knowledge/claims/1084677MCP
get_claim(id=1084677)