Unverified50% confidenceFactExact time
The PreToolUse event is triggered before the model executes a terminal command or modifies a file, and can intercept high-risk operations.
1
Sources
50%
Confidence
Long-term
Relevance
12/3/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedPreventive controls are placed before or at the moment a business event occurs, blocking non-compliant behavior through mechanisms such as permission checks, rule engines, real-time interception, and input validation, with the core characteristic being that they take effect before or during the action.70% similarUnverifiedRuntime interception occurs while the agent is running, dynamically judging based on context whether a given call is allowed.70% similarUnverifiedv2.1.332 added the PreSkillShellCommand hook event, allowing interception and rejection when the inline shell commands of a skill or command are loaded.69% similarUnverifiedPreToolUse and PostToolUse hooks intercept before and after tool execution respectively, and together with the Stop hook they form the policy injection points within the loop.68% similarUnverifiedThe PreToolUse hook can block tool calls by returning exit code 2, thereby intercepting dangerous operations.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1228931API
curl https://kongchang.com/api/v1/knowledge/claims/1228931MCP
get_claim(id=1228931)