Tool calls issues on Windows — page 3
Issues the maintainers labelled both platform:windows and area:tools.
980 issues · 148 open · 832 resolved (85%) · first seen May 20, 2025
Is this getting better or worse?
This class of problem is holding steady. 155 new reports in the last 90 days vs 201 in the 90 before — -23%. The open backlog peaked at 193 in 2026-01 and sits at 148 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
451 of these reports name the Claude Code build they were running, spanning 162 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.19
- Claude Code v2.1.12
- Claude Code v2.1.119
- Claude Code v2.1.71
- Claude Code v2.1.29
- Claude Code v2.1.23
- Claude Code v2.1.123
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 36 days across 832 closures. Of the 832 closures with a recorded reason, 23% were closed as completed and 642 as not-planned or duplicate. The most recent completed fix landed in 2026-10.
Workarounds reported by the community
373 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] file named nul created on windows
- …a regular filename, bypassing Windows reserved name checks. Workaround for users: If you encounter this issue, use Git Bash to remove the file:
Found in the thread of #4928 · resolved - [Feature Request] Claude Desktop: Option to execute commands in WSL instead of Windows
- …ommands, extensions, and file operations happen inside WSL. Workaround (Current) Running Claude Code CLI directly inside WSL terminal works perfectly, but loses the benefits of Claude Desktop's UI and extended context. A…
Found in the description of #12506 · resolved - [Bug] Anthropic API Error: Tool Use Concurrency Limitation
- I tried many workaround without success. In my case, it was a specific PDF file causing the issue. Once unreferenced, it works.
Found in the thread of #9002 · resolved - [BUG] creates `tmpclaude-*-cwd` files in the current working directory
- …ject's working directory regardless of the env var setting. Workaround: Adding to hides them from git status, but doesn't prevent their creation in the project directory.
Found in the thread of #17600 · resolved - [BUG] Claude abuses bash tools for reads, writes, and edits when running in Auto Mode
- …managed settings and roll it out to all the engineers as a work around until this is fixed: You may get an instruction from the harness when running in Auto Mode to favor bash commands over native tools like Read, Edit.…
Found in the thread of #87971 · still open
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 201–300
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 980 matches; the statistics above cover all 980.
- [BUG] Windows Desktop app: Read tool PDF fails with 'pdftoppm is not installed' while poppler is installed, on PATH, and resolvable by the same session's shells
- [BUG] - Windows: PowerShell tool pre-validation intermittently fails with pwsh exited with code 1: the command line is too long / pwsh timed out after 5000ms, blocking shell commands behind approval-prompt loops
- Read tool renders JS Unicode escape sequences inconsistently, causing Edit failures
- [BUG] Edit Tool Fails with 'File unexpectedly modified' on Windows (Access Time Update Issue)
- Documentation update for security. Claude overrides rules but this is not obvious and only reveals it after pain. Update documentation giving abstraction solution PLEASE
- [BUG] Critical Bug - Claude Code forces non-existent cygpath on Windows, ignoring available shells
- Agent Discovery Failure: Generated Agents Not Recognized or Loadable
- [BUG] Claude crashed while running a bash command
- Conda Environment Activation Fails in Windows Terminal CLI Mode
- Windows: claude.exe spawns cmd.exe/bash.exe child processes without CREATE_NO_WINDOW, causing visible console flashes
- Read tool: error message should mention offset/limit parameters
- [BUG] Read tool truncation causes agents to silently lose guardrails from instruction files
- [BUG] Chrome MCP fails with EADDRINUSE: native host tries to create new pipe server instead of connecting to existing one
- [Bug] Unhandled Promise Rejection in Async Functions 2.1.1
- [Bug] Bash tool unnecessarily prepends working directory to commands on Windows
- Ralph Wiggum plugin: undocumented jq dependency breaks Windows/Git Bash users
- [BUG] Claude Code attempts to access Windows paths with WSL-style `/mnt/c/` prefix on native Windows
- [BUG] "Read" and "Update" tool slow and will stuck main process of claude code.
- [BUG] Claude code bash command execution, output Chinese characters appear as garbled text
- Inconsistent @ Shortcut Behavior: Agents Displayed Instead of Files
- Windows Agent Loading Failure in Claude Code CLI
- [BUG] increasing timeout environmental variable
- [BUG] Context corruption ? fabricated file writes, injected tool-result text, and confabulated user turns leading to an attempted destructive git action
- [BUG] Read tool falsely reports unencrypted pandoc/LaTeX PDFs as 'password-protected'
- [BUG] Edit/Write tool corrupts accented characters in Windows-1252 (cp1252)
- [Regression 1.9659.2] computer-use tools disconnect after first use in Code mode (Windows)
- [BUG] Windows: PowerShell tool absent from schema when Git Bash is on PATH, despite pwsh.exe being present and detectable
- [BUG] PowerShell tool fails Exit 1, empty stdout/stderr on Windows 10 DE-locale (v2.1.142, all environmental causes ruled out)
- [BUG] PowerShell tool fails with "Command line is invalid" on Windows (Japanese locale) since v2.1.124
- [BUG] Glob tool returns no results when pattern starts with a literal subdirectory name
- [BUG] chrome extension isn't working. 2.1.22 (Claude Code). An agent in cli can't connect to chrome browser. It was working before, but now it is not working
- [Windows] Chrome integration broken - MCP server uses Unix socket paths instead of Named Pipes (regression in v2.1.20+)
- [BUG]
- [Bug] Claude creates temporary files in repository root directory
- [BUG] Shell snapshots export empty PATH on Windows (Git Bash), breaking command execution
- [BUG] LOST DB INFORMATION DUE TO CLAUDE NOT ASKING PERMISSIONS
- Edit tool fails with 'File has been unexpectedly modified' on Windows even when file is unchanged
- [FEATURE] Better error messages for tools (some existing ones are generic and or misleading)
- [BUG] Edit tool fails with "File has been unexpectedly modified" CRITICAL
- [BUG] Shell snapshot injection persists in native Windows installation v1.0.107
- Windows Terminal: Incorrect Agent Display with @ Symbol Replacement
- [BUG] Claude Code Filesystem Provider Fails in MINGW64 Environment
- SendMessage to a cloud session says "one-way for now … do not ask it to reply here", but the cloud session can reply via Remote send_message
- Browser pane: screenshot/zoom hangs 30s on every page (all other actions work)
- [BUG] Images sent by agent via SendUserFile never render in Desktop app chat (local session, claude.ai webview)
- [Bug] Read tool cache survives esc-esc rewind, returning "unchanged" stubs without content
- Edit tool: InputValidationError about required parameters missing, intermittent, retries succeed
- Edit tool results in conversation history include full originalFile, causing context pollution and model confusion
- PowerShell tool calls degrade terminal UI rendering for rest of session on Windows
- Edit/Write tools fail with EPERM on Windows drive root paths (e.g. D:\)
- [BUG] Write/Edit tools fail with EEXIST on non-OneDrive directories (C: drive)
- [BUG] Task tool agents always report "failed" — classifyHandoffIfNeeded is not defined
- Claude in Chrome: Múltiplas instâncias do native host causam erro EADDRINUSE no Windows
- [BUG] Plugin SessionStart hook fails on Windows (hook script never executes)
- [BUG] tool_use ids must be unique error when making parallel tool calls (v2.1.19)
- [BUG] API Error 400: Tool use concurrency issues on all file operations
- CLAUDE_CODE_GIT_BASH_PATH causes all commands to use Git Bash instead of parent shell
- API 500 Internal Server Error when reading PDF files
- [Bug] Claude Code performance degradation - behaving erratically
- [BUG] Slash Commands Fail to Load Due to Race Condition in Ripgrep Command Discovery (Windows)
- [BUG] Bash login shell
- [BUG] Inbuilt Plan agent and Explore Agent are literally same.
- [BUG] File-watch mechanism invalidates read state between Read and Write/Edit tool calls
- VS Code Extension v2.0.5 silent deadlock after running bash command - no logs for 8+ hours
- Async Sub-Agent Delegation Breaks Context Tracking
- Shell Snapshot Generation: Malformed Alias Causing Syntax Error
- Windows Terminal: Incorrect Agent Display with @ Symbol Replacement
- [BUG] Claude Code WSL2 Environment API Timeout Issue Report
- [BUG] Windows: Write tool emits .ps1 without a BOM; PowerShell 5.1 parses it as ANSI and a mojibake quote kills the script - silently when scheduled (0x80070001, no log)
- [META] Cowork cluster — 2026-06 active sub-issues (extends closed #54891 / #54847)
- [BUG] Edit/Write tools hang silently on Windows 11 (v2.1.143)
- Built-in Write tool: large escape-dense content intermittently yields malformed tool-input JSON; retry resends identical payload and also fails
- [Bug] PowerShell commands executed through bash instead of PowerShell
- [BUG] Cowork cannot read Drive Desktop placeholder files; failed reads burn tokens on retries
- [BUG] \u in Windows path is interpreted as Unicode escape sequence, corrupting file paths for usernames starting with u followed by hex digits
- [BUG] Session silently terminates after parallel tool_results on Windows v2.1.107 — no error, no API retry, JSONL just ends
- [BUG] Model silently stops mid-task after tool call without generating follow-up
- [BUG] claude tends to get stuck using find/grep/sed to READ files during Explore() tool causing many permission prompts
- [BUG] Interrupted on file reads since auto-update to 2.1.79 - Windows
- Write and Edit tools fail with EEXIST error on Windows/NTFS
- Write tool fails with EEXIST error on paths containing non-ASCII (Japanese) characters on Windows
- [BUG] MCP client silently drops all tools when third-party server includes outputSchema in tools/list response
- claude --continue freezes on drive root (D:\) due to unhandled ripgrep timeout in resume path
- [BUG] VSCode extension freezes when generating large file content for Write/Edit tools
- [BUG] VSCode extension 2.1.27 ripgrep path resolves to C:\Users\vendor\ instead of extension directory
- API Error: 400 due to tool use concurrency issues - persists in specific project
- API Error 400: tool_use ids must be unique in --print mode (v2.1.19)
- [Bug] csharp-lsp Unhandled method window/workDoneProgress/create in StreamJsonRpc
- [BUG] CLAUDE.md directives ignored leading to terminal freezes (related to existing instruction-violation bugs)
- Ralph Loop plugin: stop-hook.sh fails on Windows - cat command not found
- [BUG] Working directory does not persist between Bash commands on Windows (Git Bash/Powershell)
- [BUG] Infinite loop trying to write file, but getting "File has not been read yet. Read it first before writing to it."
- Windows: Hooks fail when user path contains spaces (unquoted ${CLAUDE_PLUGIN_ROOT})
- [BUG] LSP plugins installed and enabled but "No LSP server available for file type: .js"
- [BUG] Sub-agent tool inheritance drops first/last array elements
- [Bug] File write operation failure in Claude Code CLI
- [BUG] Claude Code repeatedly executes the same bash command dozens or hundreds of times
- [BUG] Claude Code Bash tool incompatible with MSYS/Git Bash on Windows (requires cygpath)
- [Bug] Conversation Compact Functionality Regression in Context Management
- [Bug] File Modification Conflict: Unexpected Write Prevention Mechanism