tool
langchain_core.tools.
See the LangChain Core documentation for the full API reference.
BaseTool
langchain_core.tools.
See the LangChain Core documentation for the full API reference.
ToolRuntime
langgraph.prebuilt.
Provides access to runtime context and state during tool execution.
InjectedState
langgraph.prebuilt.
When used with Annotated, the parameter will automatically receive the current agent state without requiring it to be passed explicitly by the model.
InjectedStore
langgraph.prebuilt.
When used with Annotated, the parameter will automatically receive the store instance without requiring it to be passed explicitly by the model.
InjectedToolArg
langchain_core.tools.
See the LangChain Core documentation for the full API reference.
InjectedToolCallId
langchain_core.tools.
When used with Annotated, the parameter will automatically receive the unique identifier for this specific tool invocation.
ToolException
langchain_core.tools.
Raising this exception in a tool will cause the error message to be returned to the model as a ToolMessage rather than stopping execution.
See the LangChain Core documentation for the full API reference.