executePwsh and fsWrite Tools Failing After Kiro Update
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.10.16
Bug Description
Both executePwsh and fsWrite tools are consistently failing with generic "Tool execution failed" errors, providing no additional error details or stack traces.
Environment:
Operating System: Windows Platform: win32 Shell: bash Kiro Version: Updated earlier today (February 23, 2026) Project: QueenPulseOMIGuard (Python FastAPI application) Steps to Reproduce:
Attempt to execute any PowerShell command using executePwsh tool Attempt to create any file using fsWrite tool Expected Behavior:
Commands should execute successfully and return output Files should be created successfully Actual Behavior:
All executePwsh calls return:
executePwsh: echo "test" executePwsh: git status fsWrite: Creating simple test.txt file fsWrite: Creating Dockerfile fsWrite: Creating config/init.py Tools That Still Work:
listDirectory - Works correctly readFile - Works correctly readMultipleFiles - Works correctly getDiagnostics - Works correctly fileSearch - Works correctly Troubleshooting Attempted:
Restarted Kiro IDE - No change Restarted computer - No change Tested with various simple commands - All fail Tested with different file paths - All fail Impact:
Cannot execute shell commands Cannot create or modify files Severely limits Kiro's ability to assist with deployment, git operations, and file creation tasks Forces manual workarounds for all file operations Additional Notes:
User reports seeing similar issues mentioned in Discord Issue appeared after Kiro update on February 23, 2026 Read-only tools continue to function normally Only write/execute tools are affected Credits used: 0.27 Elapsed time: 12s
Steps to Reproduce
Reproduced many times. Restarted kiro, restarted computer. There was an update of Kiro this morning.
Expected Behavior
It should have executed these commands.
Conversation ID
673ee9ff-b438-46a3-8c86-11cfdf3dc7e5 673ee9ff-b438-46a3-8c86-11cfdf3dc7e5 673ee9ff-b438-46a3-8c86-11cfdf3dc7e5 673ee9ff-b438-46a3-8c86-11cfdf3dc7e5
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #5476: Weird issue about tools not available in chat session (85% similar)
- #5376: Bug Report: execute_bash Tool Blocking All Commands (85% similar)
- #4969: executePwsh command forces Powershell syntax (85% similar)
- #4909: When a large command is executed in the bash terminal, Kiro never receives the results (85% similar)
- #4831: File write operations fail silently over SSH Remote connection (85% similar)
- #4694: Using WSL2 Terminals but Kiro is confused and has executePwsh errors all the time (85% similar)
- #4011: Kiro chat agent cannot read output from commands (85% similar)
- #4009: Command execution appears to succeed in UI but fails silently without recording in execution history (82% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report tools failing with generic error messages - new issue describes executePwsh and fsWrite tools failing with 'Tool execution failed' errors, while existing issue reports tools returning 'No tool with dummy is found' errors. Both involve tool execution failures after updates/changes.
Note: Regularly having similar issues
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Hi @anuppradhan78, thanks for the thorough report — and @AndrewFarley for confirming similar behavior.
This issue should be resolved in the latest Kiro version. Could you update to the latest and let us know if you're still experiencing the executePwsh and fsWrite failures? If the issue persists, we'll dig deeper using your conversation ID.
confirming similar behavior convo id 6bce4259-1a11-4659-b6c2-fb318c0a0c1a
Note: Updated recently twice, once this week and once last week and haven't seen this issue again manifest, at least not in the same way. Now it's instead of failing to write, it does some unusual behaviour right now though where it regularly decides it can't read or write to a file and then writes a Python script to read/write a file instead, even though that file is in the folder/repo I'm working with. If I cancel the operations in process and I remind/tell it to just read/write to the file directly, it then catches itself and realizes "oh yeah, I can read and write to the file directly" instead of using scripts and grep/sed and other cli nonsense.
So, in my opinion you've not really fixed the bug, it feels like you trained it to try an alternative to when it fails to read/write. That's what it seems like so far. And the fact that when I remind it it can then it does it again successfully tells me that story that it has this and has had this all along, but it somehow forgets or misbehaves/hallucinates into thinking it can't. And that alternative is costly on time and tokens, instead of just editing a file, it sits there sometimes running dozens of scripts, grep/sed commands etc to review, edit, review, edit a file until it's just right. It's a little weird. I seem to have to babysit some of its edits these days and when I see it getting into this indirect file read/write loop I just stop it and remind it that it can just write to the file directly.
Closing this issue as it was reported against an older version of Kiro (v0.x or early v1.x) and has had no activity in several months.
Kiro has shipped significant improvements since these versions, including stability fixes, new features, and major changes across v1.0, v1.1, v2.x, and the current v2.23.x releases. The behavior described here may already be resolved.
If this is still affecting you on the latest version, please open a new issue at https://github.com/kirodotdev/Kiro/issues/new with your current version (kiro-cli --version or Help > About in the IDE), your OS, and steps to reproduce. The latest version is available at https://kiro.dev/downloads/ or via kiro-cli update.
Thank you for taking the time to report this.