Expired60% confidenceFactTime unknown
Claude Code supports the Hooks feature, providing five trigger timings: PreToolUse, PostToolUse, OnToolError, Notification, and OnPrompt.
2
Sources
60%
Confidence
Medium-term (~90 days)
Relevance
6/2/2026
First Seen
This claim has expired. It is kept for the record and no longer describes the current state.
Valid until: 8/31/2026(expired)
Sources
Related Entities
Related Claims
UnverifiedClaude 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.79% similarUnverifiedClaude Code's Hooks have five lifecycle events: User Prompt Submit, Pre-tool Use, Post-tool Use, Notification, and Stop.72% similarVerifiedThe OnPrompt Hook triggers each time a user submits a question to Claude, and can be used to automatically supplement contextual information or perform environment checks.72% similarUnverifiedClaude Code adds an automated workflows (Routines) feature, currently in preview, supporting three trigger modes: scheduled runs, API call triggers, and event responses.71% similarUnverifiedPost-tool-use hooks are an event hook mechanism in the Claude Code plugin system that automatically trigger after each tool call by the Agent is completed, allowing developers to inject custom validation logic71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/36308API
curl https://kongchang.com/api/v1/knowledge/claims/36308MCP
get_claim(id=36308)