Unverified50% confidenceFactExact time
The Stop hook is bound to the moment when the model no longer requests tools and is about to finish; returning decision: block can prevent the loop from ending and force another round, and its reason is injected into the next round as a user message.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/13/2026
First Seen
Valid until: 1/11/2027
Sources
Related Entities
Related Claims
UnverifiedThe PreToolUse hook can block tool calls by returning exit code 2, thereby intercepting dangerous operations.72% similarUnverifiedAnthropic describes the client-side loop as a while loop based on stop reason: if the stop reason is tool_use, execute the tool and continue; exit upon encountering any other stop reason.71% similarUnverifiedClaude Code的Hooks机制包括停止钩子(会话结束时自动提议更新CLAUDE.md)和启动钩子(自动加载最新上下文信息)71% similarUnverifiedThe control flow rule of the agent loop is: as long as the stop reason is still tool use, keep looping; when the stop reason becomes end turn, stop and return plain text.70% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1013819API
curl https://kongchang.com/api/v1/knowledge/claims/1013819MCP
get_claim(id=1013819)