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) -> AnyIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CommandInterruptInMemorySaverStateGraphstream_eventsstream.interruptsthread_id