Unverified50% confidenceDecision RuleExact time
Unlike the tool_choice usage in the previous lesson that forces a specified function call, in the Agent scenario tool_choice should be left empty or explicitly set to 'auto', letting the model choose tools autonomously in each round.
1
Sources
50%
Confidence
Long-term
Relevance
10/25/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedThe tool_choice parameter controls the invocation strategy: auto lets the model decide on its own, required forces a call every time, and none prohibits any call.78% similarUnverifiedIn Dify, Agent mode allows a toolset to be mounted for the model, and the model selects tools and passes in parameters through the function calling mechanism.78% similarVerifiedAgents in Dify invoke external tools via Function Calling or Tool Use mechanisms, and their defining feature is the ability to call tools to complete complex instructions.75% similarUnverifiedWhen the model decides to call a tool, it generates an AIMessage with a tool_calls field, and the tool execution result is returned to the model as a ToolMessage, forming a closed loop for tool invocation.74% similarUnverifiedIn a workflow, the path is fixed in advance by code and the model is only responsible for filling in the blanks; an agent chooses its own path and tools during execution.74% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1097649API
curl https://kongchang.com/api/v1/knowledge/claims/1097649MCP
get_claim(id=1097649)