Skip to content
masterclass Buddy

LangGraph · Class

Interrupt

interrupt() pauses a LangGraph node and exposes a value to an external caller. Resume with Command(resume=...) and the same thread ID; the supplied value becomes interrupt()'s result.

Last updated

Since
v1.2

Syntax

interrupt(value: Any, *, response_schema: dict[str, Any] | type | None = None) -> Any

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

Subscribe
  • Command
  • Interrupt
  • InMemorySaver
  • StateGraph
  • stream_events
  • stream.interrupts
  • thread_id

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