Tool
An external functional module that an AI agent can invoke to extend the boundaries of the agent's capabilities, enabling it to perform actual operations such as querying a database, sending email, or calling a sub-workflow.
Core Facts
Timeline (last 90 days)
LangChain's key abstractions include Model I/O (a unified input/output interface for different models), Retriever (retrieving context from data sources), Tool (external functions callable by the Agent) and Agent Executor (the control loop that decides when to call which tool).
A Tool is a capability, a Skill is the method for completing a task; a Tool addresses "whether it can be done", a Skill addresses "how to do it more reliably".
LangChain abstracts the round-trip flow of tool calling into Tool objects and an agent execution loop, so that logic such as multi-step tool orchestration, result backfilling, and error retry need not be implemented from scratch.
The benefits brought by the tool middleware architecture include: controllability (precisely knowing what Claude is allowed to do), auditability (every tool call is recorded and can be checked), and security (operations without a defined tool cannot be executed).
Everything Claude does to a user's account is done through Tools; Claude will not bypass tools to directly manipulate a user's account, files or system.
When the model requests a tool call, the finish_reason field in the response has the value tool_calls rather than stop, which is the standard signal for determining whether the model is requesting a tool call.
Tool Use implementations from different model providers vary in parameter formats, parallel call support, streaming tool calls, and other aspects, and the AI SDK's unified abstraction layer is used to shield these differences.
All Facts (7)
Tool Use implementations from different model providers vary in parameter formats, parallel call support, streaming tool calls, and other aspects, and the AI SDK's unified abstraction layer is used to shield these differences.
75%UnverifiedWhen the model requests a tool call, the finish_reason field in the response has the value tool_calls rather than stop, which is the standard signal for determining whether the model is requesting a tool call.
60%UnverifiedLangChain's key abstractions include Model I/O (a unified input/output interface for different models), Retriever (retrieving context from data sources), Tool (external functions callable by the Agent) and Agent Executor (the control loop that decides when to call which tool).
50%UnverifiedA Tool is a capability, a Skill is the method for completing a task; a Tool addresses "whether it can be done", a Skill addresses "how to do it more reliably".
50%UnverifiedLangChain abstracts the round-trip flow of tool calling into Tool objects and an agent execution loop, so that logic such as multi-step tool orchestration, result backfilling, and error retry need not be implemented from scratch.
50%UnverifiedThe benefits brought by the tool middleware architecture include: controllability (precisely knowing what Claude is allowed to do), auditability (every tool call is recorded and can be checked), and security (operations without a defined tool cannot be executed).
50%UnverifiedEverything Claude does to a user's account is done through Tools; Claude will not bypass tools to directly manipulate a user's account, files or system.
50%