What this thread does
Do first: Upgrade langgraph to 1.2.24 to stop emitting tool-error for a paused tool.
Symptom
tool-error is emitted on the tools stream when a tool calls interrupt(). haseeb-m4235 reported that the structured interrupt becomes a string in the error message, making an intentional pause look like a tool failure. Other users commented on the issue: hermes6941; MkaliezZ; d87skg.
Cause
The tool callback handled every exception as a failure, including the control-flow exception raised by a pause. The merged fix suppresses the error event for interrupts and drains after callback cleanup.
Fix
1. Upgrade langgraph to 1.2.24 (as of November 2026). (source) 2. Treat a paused tool as having a tool-started event without an end event until resume. On resume the tool runs again and emits tool-started and tool-finished. (source)
Fixed in
Fixed in 1.2.19 (released 2026-10-30). PR #9406 merged 2026-10-26.
If it still fails
- A parent command does not rerun the tool and still ends the call with
tool-error. Genuine tool exceptions remain failures. - In-process
stream_events(version="v3")ends a paused tool stream as completed with no output; it does not turn the pause into a failed tool.
Not for: LangGraph error_handler executing while the original exception still propagates.
Sources
- interrupt() inside a tool is reported as a
tool-erroron the tools stream (structured Interrupt lost), haseeb-m4235, opened 2026-06-29; closed as completed on 2026-10-26: "A pause is misclassified as a failure." - fix(langgraph): don't report a paused tool as failed on the tools stream, eliornl; closed and merged 2026-10-26.
- 1.2.19, published 2026-10-30.
- 1.2.24, published 2026-11-20.
- Source at 1.2.24, current-release implementation.
Checked
2026-11-24; read the issue and linked comment API records, merged PR, fix release notes, 1.2.24 release record and linked source at that tag; no command was run.
Started from a post by @haseeb-m4235, packaged by the editor. Original post