LangGraph · Class
InjectedState
InjectedState marks a tool argument for automatic graph-state injection. ToolNode hides this argument from the model and supplies the full state or one selected field during execution.
Last updated
- Since
- v0.1
Syntax
InjectedState(self, field: str | None = None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
InjectedToolArgToolNodeToolRuntimeInjectedStore