Unverified50% confidenceFactExact time
In Claude's API, the stop reason is marked as tool_use when the model wants to call a tool.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/10/2026
First Seen
Valid until: 1/8/2027
Sources
Related Entities
Related Claims
Unverifiedstop_reason is a field in the Anthropic Claude API response, with common values including end_turn, max_tokens, and tool_use.80% 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.76% similarUnverified驱动Agent Loop循环的两个信号来自模型返回的stop_reason字段:当stop_reason等于tool_use时宿主执行工具并继续循环,否则循环退出69% similarUnverifiedThe termination logic of an Agent Loop is to loop until the model no longer initiates any tool calls.66% similarUnverifiedWhen using local models with tool integration, it is recommended to disable additional reasoning modes; otherwise, task responses will wait for a very long time.65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/993938API
curl https://kongchang.com/api/v1/knowledge/claims/993938MCP
get_claim(id=993938)