| Name | Type | Description |
|---|---|---|
request* | CreateResponse | |
context* | ResponseContext | |
pending* | Sequence['Interrupt'] |
Build a resume :class:Command from the request's input items.
Default implementation scans the current request for either a
function_call_output whose call_id matches one of the
pending interrupts, or an mcp_approval_response whose
approval_request_id matches. The former decodes its
output JSON into a :class:Command; the latter maps recognized
LangChain HumanInTheLoopMiddleware requests to ordered
approve/reject decisions.
Other approvals echo the interrupt's value. Override to plug in
custom resume protocols.
The parsed create-response request.
The response context for the request.
Interrupts currently pending on the checkpointed thread.