Unverified90% confidenceFactTime unknown
设置tool_choice为any等同于required,会强制LLM每次都必须调用工具
1
Sources
90%
Confidence
Long-term
Relevance
5/31/2026
First Seen
Sources
LangChain Agent Executor Architecture: Building a ReAct Agent from Scratch
youtubeJames Briggs
Related Entities
Related Claims
Unverified设置tool_choice为auto时,LLM有时会在应该使用工具时选择直接回答,尤其在使用较小模型时这种行为更加频繁74% similarUnverifiedTool Use (function calling) allows LLMs to invoke external tools during inference, such as reading files, performing searches, calling APIs, or executing code.69% similarUnverifiedWhen an LLM model decides to call a tool, it generates an assistant message containing a tool_use block; after the tool finishes executing, the result is appended as a new message in tool_result format67% similarUnverifiedLLM 0.32a0 built the tool-call loop into the library via the execute_tool_calls() and reply() methods.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/16125API
curl https://kongchang.com/api/v1/knowledge/claims/16125MCP
get_claim(id=16125)