Skip to content
masterclass Buddy

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) -> RunnableConfig

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • RunnableConfig
  • RemoteGraph
  • PregelProtocol.update_state
  • SyncThreadsClient.update_state

Source: update_state | langgraph | LangChain Reference. Checked 2026-11-03.