Unverified60% confidenceFactExact time
The pre-tool hook is triggered immediately before the tool function body executes.
2
Sources
60%
Confidence
Long-term
Relevance
9/10/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedMiddleware is typically mounted as hooks at key nodes of the harness, such as before model calls, before and after tool execution, and before messages are written to history.71% similarUnverifiedPreToolUse triggers before a tool is about to be called but before it has actually executed, making it suitable for safety guardrails.69% similarUnverifiedHooks are a hook mechanism that automatically triggers scripts at key points of tool calls, used for validation, interception, or logging.69% similarUnverifiedPi has a BeforeToolCall hook that can return a Block before tool execution, which is where permission prompts (whether to allow command execution) are placed.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/886973API
curl https://kongchang.com/api/v1/knowledge/claims/886973MCP
get_claim(id=886973)