Verified65% confidenceFactExact time
When 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.
3
Sources
65%
Confidence
Long-term
Relevance
7/9/2026
First Seen
Sources
LangChain Hands-On Guide: From LLM Calls to Agent Development
bilibili今天AI了吗7/8/2026
Related Claims
VerifiedTool Calling is a capability of large language models: when generating a reply, the model outputs structured JSON indicating which function to call and what parameters to pass, but the model only outputs intent and does not execute code; the responsibility for execution lies on the application side.79% similarUnverifiedToolLoopAgent is the agent abstraction in the AI SDK for multi-step tool calls, responsible for scheduling between the model and tools until the model no longer requests tools or the step limit is reached; WorkflowAgent targets persistable, orchestration-capable multi-step workflows, and the two share underlying mechanisms such as model calls and tool execution, but historically differ in edge-case behaviors such as approval, timeouts, and streaming aborts.77% similarVerifiedAgents use the Tool Calling mechanism to allow models to output calling intent in a structured JSON format, with external programs executing the actual operations and feeding results back to the model.76% 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.76% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/366970API
curl https://kongchang.com/api/v1/knowledge/claims/366970MCP
get_claim(id=366970)