LangGraph · Function
update_state
Updates a LangGraph thread's state through a remote graph. It can record the update as if a chosen node had just executed.
Last updated
- Since
- v1.2
Syntax
update_state(self, config: RunnableConfig, values: dict[str, Any] | Any | None, as_node: str | None = None, *, headers: dict[str, str] | None = None, params: QueryParamTypes | None = None) -> RunnableConfigIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RunnableConfigRemoteGraphPregelProtocol.update_stateSyncThreadsClient.update_state