Oct 14, 2026 - langchain
langchain v1.4.6 HumanInTheLoopMiddleware can now pause once per tool call. Set interrupt_mode="per_call" and each gated call raises its own interrupt, which you answer by interrupt ID. Batched mode is still the default. Features Typed answers: each interrupt carries a response_schema listing the decisions that call allows, so a client can build its form from the schema. See Read the response schema. Checked before saving: LangGraph rejects an invalid answer before it is saved, so you can correct it and answer the same interrupt again. See Correct an invalid answer. Edits stay on the called tool: an edit can't switch tools, and its arguments are checked against the tool's own schema. Use per-call mode for new agents. LangChain plans to make it the default in the next major release. See Pause once per tool call and the human-in-the-loop overview.