Tool calls issues on Linux — page 3
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
216 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 201–300
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 676 matches; the statistics above cover all 676.
- [BUG] Agent frontmatter `tools` field does not restrict tool availability via `claude --agent`
- Subagents should receive distilled system prompts tailored to their role
- [Bug] Anthropic API Error: 400 - Tool Use Concurrency Conflict
- [BUG] Text files misclassified as binary files based on file extension
- Critical: Claude ignores user instructions and loops on oversized screenshot errors
- [BUG] Claude Code crashes when Edit tool renders code containing } braces - Chalk template literal parser in diff/edit display
- [BUG] Bash tool: npm commands fail with silent Exit code 1 (works in shell, fails only in Claude Code)
- [BUG] Installation error on linux
- [BUG] Bash tool error reporting insufficient for chained commands (only "Exit code 1")
- [BUG] Stale background process reminders continue after process is killed
- [BUG] External tools, e.g. test runners, are seemingly not run in non-interactive TTY
- [BUG] CLI streaming files silently hangs and fails when token limit is exceeded
- [BUG] Task steps are unviewable
- [BUG] Glob tool cannot find files under .claude/ directory (regression 2.1.81 → 2.1.92)
- GPG signing prompt conflicts with Claude Code TUI during git commit
- LSP plugins spawn eagerly regardless of file types in project
- [BUG] Orphaned plugin hooks persist after plugin removal - cannot delete via /hooks UI
- [BUG] Claude Code bash tool fails on HPC/SLURM compute nodes
- [BUG] Task tool subagent model not displayed in TUI for opus and default cases
- Task tool subagent spawning ignores TMPDIR, hardcodes /tmp/claude/
- Drastically reduced quality from Sonnet 4.5 and Claude Code ~Dec 26
- [BUG] Write/Update tool failures with backslash escape sequences
- [BUG] Shell initialization (cd ~ in .bashrc) breaks workspace boundary
- [BUG] Task tool usage guidance contradicts resumable subagent functionality (v2.0.28+)
- [BUG] agent is sending empty tool names
- [Bug] AskUserQuestion tool returns empty results without displaying prompts
- [BUG] a POSIX shell is required, but bash is invoked instead
- [BUG] API Error (Request timed out.)
- File Edit Operation Fails with Unhandled Promise Rejection
- [BUG] File creation/editing operations fail silently - Write/Edit tools timeout, bash file creation appears successful but files don't exist
- Issue Title: `find` Command Fails: Incorrect `-exec` Argument Syntax
- Grep and Glob absent from the tool registry entirely: tengu_non_deferrable_builtins is empty (recurrence of #52004, with the flag identified)
- [BUG] Image Inputs via Read Tool or @ Reference Consume 7–10× More Tokens with On-Prem LLMs
- [BUG]
- [Bug] opus 4.8 hangs indefinitely on tool calls after extended usage, freezes on messages ending with "let me..."
- [BUG] Queued message delivered inside WebSearch tool result wrapped in `<system-reminder>`
- Malformed image (bad PNG bytes / paste / 404'd URL) permanently bricks the session — `API Error: 400 Could not process image` on every turn
- WebSearch tool does not support query operators, but agents construct queries as if it does — wasting tokens and producing degraded results
- [BUG] path.relative() computed from bash.cwd instead of CLI startup directory causing edition of Plans and local files to fail
- Read tool: invalid PDF crashes entire session with API 400 error (unrecoverable)
- [BUG] Teammates spawned in Delegate Mode lose tool access despite mode: bypassPermissions
- Complete UI freeze during Bash tool execution - timer stops, escape unresponsive
- VSCode extension crashes with OOM after ripgrep EAGAIN spawn failures
- Session hangs when bash subprocess becomes zombie (defunct)
- [BUG] bash commands timeout on linux
- [BUG] Complete UI freeze during Bash tool execution - Thread deadlock
- [Bug] [Regression] Background commands don't notify Claude Code on completion
- [BUG] Navigate tool corrupts chrome:// and about: URLs by prepending https://
- [BUG] Claude Code Session Freeze on Large File Read Error (v2.1.1 - v2.1.3)
- SubagentStop hook systemMessage not displayed in UI
- Shell scripts use non-portable #!/bin/bash shebang
- [Bug] Bash tool bypasses allowlist restrictions and executes unapproved commands
- [BUG] PDF Reading Fails Under 200k Token Limit
- Background shell reminders persist after KillShell, causing context exhaustion
- [BUG] VSCode Extension UI freezes 26+ minutes on Remote SSH permission prompts
- [BUG] CLAUDE CODE running a git command without prompting resulting in catastrophic data loss
- [BUG] Invoking a sub-agent does not return agentId
- Feature Request: Support external editor for file editing operations
- [Bug] Search on root path "." always triggers approval prompt
- [BUG] AskUserQuestion always returns empty answer without showing anything in the TUI
- [Bug] Unexpected High Resource Consumption from Plugin Disabling Commands
- [BUG] Claude sometimes get very upset with itself and tries to kill a sudo process to end the session
- [Feature Request] Support Environment Variables in Command Parsing
- [Bug] Bash Deny Fails with Heredoc-Style Input Redirection
- [BUG] Claude misunderstands the meaning and nature of "Working directory" in the system context <env> section
- [BUG] env var to control bash timeout not work
- [BUG] Dangerous rm -f command execution without permission
- [BUG] Tool usage causes significant load on host system
- [BUG] "Error editing file" message is unhelpful and/or incorrect
- [BUG] Edit tool incorrectly inserts \n instead of newlines
- [BUG] Claude code fails when I set a model to use for custom commands
- [BUG] tools.43.custom.name: String should have at most 64 characters
- Stderr Redirection Causing Unexpected Behavior in Command Execution
- Enhance jq Integration: Add Persistent Confirmation Option
- [BUG] CRITICAL BUG: Commands execute BEFORE user approval
- [BUG] Claude Code automatically reverts user code changes without permission
- [BUG] Claude Code not inheriting NixOS Paths
- File Edit Failure: String Not Found in Empty File
- Permission Prompts Override CLAUDE.md Command Execution Policy
- Invalid Tool Parameters Causing Recursive Error
- [BUG] Task management tools silently unavailable on Opus 4.8 / Sonnet 5 / Fable 5 (tengu_vellum_ash model gate)
- Grep/Glob tools become unavailable for entire session (incl. subagents) after early /model switch
- [Bug] Tool trigger sensitivity requires tuning
- Claude Code repeatedly claims work is done without verifying, wastes hours on broken WebGL
- [Bug] Tool output returning garbled/hallucinated content causing token waste
- `claude -p` does not exit after final text when session used `run_in_background=True` Bash tools, even after those processes complete naturally
- [Feature Request] Add NotebookRead tool for efficient Jupyter notebook cell extraction
- [BUG] Bug: File edits cause metadata loss (group, setuid, xattrs, hardlinks)
- claude.exe ugrep subprocess wedges holding 6-9 GB RAM; parent does not SIGKILL on timeout
- [BUG] Headless claude -p loses Read -> Edit state when multiple autoloaded .claude/rules/*.md files are present
- [BUG] tools.26 schema error (oneOf/allOf/anyOf) in v2.1.63
- [BUG] Sandboxed bash does not recognize `!` and gives "command not found"
- Workaround: @ file autocomplete for nested repos using git submodules
- [Bug Report] Background agent response is not parsed correctly
- [BUG] clangd-lsp nagging to install but configuration doesn't support c++ modules
- [Bug] Plan mode missing permission prompt for destructive rm command
- Task tool subagent fails with 'classifyHandoffIfNeeded is not defined'
- [BUG] Claude Code v2.1.21 broke NVM
- [BUG] Claude Code fails with EACCES on multi-user systems when /tmp/claude is not writable
- Claude gets stuck in infinite loop repeating the same failing command