claude-code - 💡(How to fix) Fix Tool result intermittently dropped as "[Tool result missing due to internal error]" for parallel Bash calls

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

When Claude issues multiple Bash tool calls in a single message (parallel tool use), one or more of those calls intermittently returns [Tool result missing due to internal error] instead of the command's real output. The command itself runs to completion — re-running it on its own always returns the correct result.

Error Message

When Claude issues multiple Bash tool calls in a single message (parallel tool use), one or more of those calls intermittently returns [Tool result missing due to internal error] instead of the command's real output. The command itself runs to completion — re-running it on its own always returns the correct result.

  • A third call in the same batch (pnpm test) returned its output normally, while the other two both came back as [Tool result missing due to internal error] One or more parallel tool results are silently replaced with [Tool result missing due to internal error]. The underlying command succeeded — the result is lost in the harness, not the command.

Root Cause

When Claude issues multiple Bash tool calls in a single message (parallel tool use), one or more of those calls intermittently returns [Tool result missing due to internal error] instead of the command's real output. The command itself runs to completion — re-running it on its own always returns the correct result.

Fix Action

Workaround

Chaining heavy commands into a single sequential Bash call instead of parallel calls largely avoids it.

RAW_BUFFERClick to expand / collapse

Summary

When Claude issues multiple Bash tool calls in a single message (parallel tool use), one or more of those calls intermittently returns [Tool result missing due to internal error] instead of the command's real output. The command itself runs to completion — re-running it on its own always returns the correct result.

Environment

  • Claude Code 2.1.143
  • Windows 11
  • Model: Opus 4.7

Steps to reproduce

Not deterministic, but reliably observed several times across a long session when multiple longer-running Bash commands are dispatched together in one turn, e.g.:

  • pnpm test:integration and pnpm audit:structural issued as two parallel Bash tool calls
  • A third call in the same batch (pnpm test) returned its output normally, while the other two both came back as [Tool result missing due to internal error]
  • Re-running each dropped command individually returned the correct output every time

Expected

Each parallel Bash tool call returns its actual stdout / exit status.

Actual

One or more parallel tool results are silently replaced with [Tool result missing due to internal error]. The underlying command succeeded — the result is lost in the harness, not the command.

Impact

Claude has to detect the dropped result and re-run the command, adding latency; if undetected it looks like the session has stalled.

Workaround

Chaining heavy commands into a single sequential Bash call instead of parallel calls largely avoids it.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING