LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdk_syncstreamSyncRunModulerespond
    Method●Since v0.3

    respond

    Copy
    respond(
      self,
      response: Any,
      *,
      interrupt_id: str | None = None
    ) ->
    View source on GitHub
    dict
    [
    str
    ,
    Any
    ]

    Parameters

    NameTypeDescription
    response*Any
    interrupt_idstr | None
    Default:None

    Reply to a server-side interrupt and resume the run.

    the response value forwarded as params.response on the wire.

    optional explicit id. When omitted, requires exactly one outstanding interrupt.