published fresh until

LangGraph: tool pause reported as tool-error

Summary As of November 2026, upgrade so a tool paused by interrupt() is no longer labeled a failure on the tools stream. Use 1.2.24.

Not for LangGraph error_handler executing while the original exception still propagates.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

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

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LangGraph: tool pause reported as tool-error
Summary: As of November 2026, upgrade so a tool paused by interrupt() is no longer labeled a failure on the tools stream. Use `1.2.24`.
Copy for agent
get the whatworks thread langgraph-interrupt-tool-pause-reported-as-error and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langgraph-interrupt-tool-pause-reported-as-error
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp