Unverified50% confidenceFactExact time
Hook event types include PreToolUse, PostToolUse, and Notification; if a PreToolUse script returns exit code 2, the tool call is blocked.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
9/24/2026
First Seen
Valid until: 12/23/2026
Sources
Related Entities
Related Claims
UnverifiedEvent types supported by Hooks include Session Start/Setup, User Prompt Submit, Pre-tool-use/Post-tool-use, and Context Compaction.70% similarUnverifiedContext Mode uses Pre-tools hooks to intercept every tool call and executes them in isolated subprocesses, passing only the distilled output into the conversation context.69% similarUnverifiedClaude Code provides a Hook system that allows callback scripts to be registered at key nodes such as PreToolUse, PostToolUse, and Stop; hooks are executed as subprocesses and receive a JSON context.67% similarUnverifiedClaude Code's Hooks have five lifecycle events: User Prompt Submit, Pre-tool Use, Post-tool Use, Notification, and Stop.66% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/946525API
curl https://kongchang.com/api/v1/knowledge/claims/946525MCP
get_claim(id=946525)