待验证50% 置信事实精确时间
在 Claude 的 API 中,模型想调用工具时的停止原因(stop reason)会标记为 tool_use
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/10/10
首次发现
有效期至:2027/1/8
来源
涉及实体
相关事实
待验证stop_reason是Anthropic Claude API响应中的一个字段,常见值包括end_turn、max_tokens、tool_use80% 相似待验证Anthropic将客户端循环描述为基于停止原因的while循环:停止原因是tool_use就执行工具并继续,遇到其他停止原因则退出76% 相似待验证驱动Agent Loop循环的两个信号来自模型返回的stop_reason字段:当stop_reason等于tool_use时宿主执行工具并继续循环,否则循环退出69% 相似待验证Agent Loop 的终止逻辑是循环直至模型不再发起任何工具调用66% 相似待验证在对接工具使用本地模型时建议关闭额外的推理模式,否则任务响应会等待很长时间65% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/993938API
curl https://kongchang.com/api/v1/knowledge/claims/993938MCP
get_claim(id=993938)