diff --git a/docs/docs/reference/prebuilt.md b/docs/docs/reference/prebuilt.md index 9e42c40fc..bd3ab9a8e 100644 --- a/docs/docs/reference/prebuilt.md +++ b/docs/docs/reference/prebuilt.md @@ -10,6 +10,7 @@ members: - ToolNode - InjectedState + - InjectedStore - tools_condition ::: langgraph.prebuilt.tool_validator diff --git a/libs/langgraph/langgraph/prebuilt/tool_node.py b/libs/langgraph/langgraph/prebuilt/tool_node.py index d01ce82db..91e6483a1 100644 --- a/libs/langgraph/langgraph/prebuilt/tool_node.py +++ b/libs/langgraph/langgraph/prebuilt/tool_node.py @@ -461,6 +461,9 @@ class InjectedStore(InjectedToolArg): the store will be automatically propagated to the tools with InjectedStore args when using ToolNode. + !!! Warning + `InjectedStore` annotation requires `langchain-core >= 0.3.8` + Example: ```python from typing import Any