Tool calls issues on Linux
Issues the maintainers labelled both platform:linux and area:tools.
676 issues · 55 open · 621 resolved (92%) · first seen Mar 2, 2025
Is this getting better or worse?
This class of problem is holding steady. 70 new reports in the last 90 days vs 86 in the 90 before — -19%. The open backlog peaked at 218 in 2025-12 and sits at 55 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
251 of these reports name the Claude Code build they were running, spanning 102 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.19
- Claude Code v2.1.158
- Claude Code v2.1.29
- Claude Code v2.1.25
- Claude Code v2.1.12
- Claude Code v2.1.63
- Claude Code v2.1.17
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 40 days across 621 closures. Of the 621 closures with a recorded reason, 26% were closed as completed and 458 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
215 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] AskUserQuestion: "No response after 60s — continued without an answer"
- Another workaround is to temporarily add the tool to the . list in your . Any Tool added to that list is entirely hidden from the model, so it will simply ask questions in prose in the chat window.
Found in the thread of #73125 · resolved - Memory leak: Missing cleanup for /tmp/claude-*-cwd working directory tracking files
- …e script, now on version 2.1.5 and experiencing this issue. Workaround - Add to - Add the following to :
Found in the thread of #8856 · still open - [BUG] Claude can't edit files that use tabs for indentation
- …", show what character position first differed For now, the workaround is to use very small, unique code snippets when editing, so there's less whitespace to match exactly. I'm on Windows 11, in my case it's c++ and I'm…
Found in the thread of #11447 · still open - [BUG] Claude Code creates empty read-only dotfiles in working directory during Bash tool execution
- workaround The following hook is working pretty well in my environment to clean up the spurious files after the Bash tool completes running in the sandbox. [claude-code-sandbox-bash-tool-issue-17087.sh]( See the comments…
Found in the thread of #17087 · resolved - Shell Function Inheritance Issue - Zoxide and Dynamic Functions Fail in Bash Tool
- …n Code When runs, it generates shell functions like: Failed Workarounds Attempted 1. Manual function definition : Functions defined but not accessible 2. Re-sourcing ~/.zshrc : No effect in Claude Code context 3. Direct…
Found in the description of #2407 · resolved
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 1–100
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 676 matches; the statistics above cover all 676.
- [BUG] AskUserQuestion: "No response after 60s — continued without an answer"
- Memory leak: Missing cleanup for /tmp/claude-*-cwd working directory tracking files
- [BUG] Claude can't edit files that use tabs for indentation
- [BUG] Claude Code creates empty read-only dotfiles in working directory during Bash tool execution
- Shell Function Inheritance Issue - Zoxide and Dynamic Functions Fail in Bash Tool
- BUG: classifyHandoffIfNeeded is not defined - SubagentStop hook failure
- [Bug] WebFetch Wildcard Domain Matching Fails to Generalize
- [BUG] Claude Code consistently creates files with Windows line endings on Linux systems
- [Bug] Claude Code passes invalid `--no-stat` flag to `git show` command
- Claude’s automatically triggered Bash tool runs extremely slowly on Linux (v2.0.22)
- [BUG] Claude Code Web Cannot Use gh CLI Commands (Permission Denied)
- API Error 400: thinking blocks order error on first tool use after clean install
- [BUG] UTF-8 Corruption Bug
- Edit and MultiEdit tools fail with persistent 'File has been modified since read' errors
- [Bug] Auto-mode "bashFirst" system prompt instructs sed/heredoc file edits instead of Edit/Write tools
- [BUG] Claude Code not finding custom commands in ~/.claude/commands or ./claude/commands
- [BUG] Adding marketplace with custom SSH git url is not allowed
- [BUG] ask list is ignored when "Bash" is in allow list
- Skills consume full token count at startup instead of progressive disclosure (frontmatter only)
- [BUG] Write tool ignores umask and creates files with hardcoded 600 permissions
- [BUG] Read tool's PDF support requires poppler-utils but it's undocumented, usually absent, and not detected after install
- Background process termination crashes Claude Code in Docker containers
- [BUG] LSP plugin system not connecting to language servers - always returns "No LSP server available"
- [Bug] Parallel tool calls trigger persistent "Cancelled" errors
- [BUG] Claude accesses git origin server on startup before any commands issued
- [BUG] Agents Don't Inherit MCP Tool Access Despite Connected MCP Servers
- Plugin skills don't support `disable-model-invocation` like user skills do
- [BUG] Subagent Write tool rejects .md files named "report"/"summary"/"findings"/"analysis" — no opt-out
- Bash(command:*) allow rules do not prevent permission prompts for file-modifying commands
- [BUG] Agent Teams tools not injected despite CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
- [BUG] `/ralph-wiggum:ralph-loop` slash command fails permission check
- [BUG] Edit tool cannot distinguish between straight and curved quotes in replacements
- [BUG] `ide:getDiagnostics` times out if file is not active in Jetbrains IDE
- [BUG] Exclamation mark is escaped
- Shell functions with autoload break command execution - make function definition file not found
- [BUG] updatedInput PreToolUse response does not work when multiple PreToolUse hooks are executed
- Task tool fails with 'Tool names must be unique' error when MCP servers are enabled
- [BUG] Auto mode injects system reminder that suppresses AskUserQuestion in skills
- Bash Command Redirection Fails with `2>&1` is treated as if the `2` was a separate parameter
- Bug Report: Path Patterns in allowedTools Not Honored in Non-Interactive Mode
- [BUG] MCP resources not available for subagents
- Jupyter Notebook Edit: Inconsistent Cell Insertion Order Breaks Code Generation
- [BUG] Interrupting session during tool calls permanently corrupts conversation with tool_use/tool_result API errors
- [BUG] WebFetch returns 403 on Wikipedia and other sites despite successful preflight check
- [BUG] Sandbox: Bash cwd tracking writes to blocked /tmp/ path causing error noise on all commands
- 2.1.178: native team-management tools TeamCreate / TeamDelete no longer surfaced (regression from 2.1.177)
- Bundled ugrep OOMs the host: -E with two bounded {0,N} intervals explodes DFA construction to multiple GB
- [BUG] Claude refuses to write CLAUDE.md when it's a symlink
- [BUG] Automatic parallel-tool-call cancellation is indistinguishable from a user interrupt
- [BUG] The Fetch tool of Claude Code does not identify properly but uses a generic UA
- [BUG] Permission request for 'xargs grep' even though settings allow 'xargs grep'
- [Bug] Anthropic API Error: Invalid tool_result block without corresponding tool_use
- [BUG] Bash safety classifier intermittently unavailable on claude-opus-4-7, blocks tool calls
- [BUG] Environment Variables Cleared When Using Pipe Operator in Bash Tool
- Multi-user permission conflicts with /tmp/claude-*-cwd files
- [BUG/UX] Sandbox network whitelist: No way to proactively configure domains, git operations fail without prompts
- [BUG] Freezes terminal most of the time when trying to access anything remotely related to tty devices.
- [Feature Request] Add Session-Scoped Command Permissions
- [Bug] API Error 400 - Tool Use Concurrency Issues - Widespread Regression Affecting All Platforms
- ralph-wiggum plugin: Bash permission check fails despite allowed-tools declaration
- Claude Code blocked from accessing shared claude.ai conversations
- [BUG] Edit/Write tools bypass permissions.ask rules (regression of #11226)
- [BUG] shell-snapshot is gone
- [BUG] Write tool creates directories with incorrect permissions (doesn't inherit from parent)
- [BUG] E2BIG Error in Bash Tool
- [BUG] Claude Code sandbox Bash tool loses pipe data when pipeline is last element
- Claude Code crashes when reading large PDF files - tool_use/tool_result block mismatch
- [BUG] JupyterNotebook new cell constantly inserted at the beginning of a notebook
- [Bug] Anthropic API Error: Duplicate Tool Names in Request
- [BUG] AskUserQuestion tool doesn't work in skill until plan mode toggled to at least one
- [BUG] Error: kill EPERM
- Command Timeout with Raw Mode Input Stream Failure
- [Bug] Claude consistently misspells user home directory path in file operations
- [Feature Request] Cross-plugin skill references with namespace syntax
- [BUG] ask permission rules don't take precedence over allow when Bash is in allow list
- [BUG] Claude continually asks for permission,even add permissin in .claude/settings.local.json
- [Bug] Resumable agents fork from checkpoint instead of accumulating context
- [BUG] Complex bash syntax fails with preprocessing (reproducible, workaround exists but inconsistent)
- [BUG] Completed background commands are being treated as answers
- Deny Rules Configuration Failure in Claude Code CLI
- [BUG] Read tool falsely reports "file was modified" on large files, causing massive wasteful system reminders
- [BUG] Claude Code freezes with memory leak when processing output with extremely long lines (minified files)
- Git process zombies causing sessions to hang mid-task
- [BUG] Conversation Compaction Corrupts Tool Use/Result Pairs
- Image File Type Handling Error in Claude Analysis
- VSCode extension crashes with "Unhandled case: [object Object]" when model passes Read tool offset as array
- ToolSearch:optimistic polling loop causes 100% CPU usage
- [BUG] Skill tool fails to activate plugin-dev skills - missing build.sh script
- Bash/Read tool results intermittently return empty (then flush late, redundantly) on Linux — NOT length/concurrency-correlated; same symptom as stale-closed #36038
- [Bug] MCP server "claude-vscode" fails with "Method not found" causing tool use concurrency 400 errors
- Write tool corrupts UTF-8 multi-byte characters (box-drawing chars become NULL bytes)
- Task tool causing infinite scroll in version 2.0.24
- [BUG] WebFetch tool returns 401 OAuth error after successful login
- [BUG] haiku subagent delegates to 3.5
- [Bug] Playwright Screenshot: Persistent API Error for Large Image Dimensions
- [BUG] Illegal instruction error when reading images on AMD A6-3420M processor
- [BUG] When Claude Code is running a Task tool and a sub-agent is processing something, something happens and Claude Code crashes.
- Edit tool silently normalizes `\uXXXX` escape sequences in old_string, breaking exact matches
- [BUG] `Monitor` `until`-loop self-matches when model uses `pgrep -f "<cmdline>"` as its check
- [BUG] WebFetch tool always fails — Cloudflare bot protection on claude.ai blocks headless domain verification requests