You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"shell_client" tool is unavailable after latest update #56794
After updating to the latest version, the shell_client tool is no longer accessible. Every time the agent attempts to use this tool, it fails with the following error message:
No tool named "shell_client" is currently available. Please use a tool from the available tool list.
This issue persists across multiple attempts. As shown in the attached screenshot, the tool calls are being rejected continuously.
Plugins
No response
OpenCode version
2.0.32
Steps to reproduce
Update opencode to the latest version (the version where the issue occurs).
Launch opencode and start a new session/agent.
Trigger any action or prompt that requires the agent to invoke the shell_client tool (e.g., asking it to run a shell command or execute a script).
Observe the output: the agent repeatedly attempts to call shell_client and fails.
I think this is a duplicate of #56193. OpenCode doesn't register a tool called shell_client; its only shell tool is shell. So the No tool named "shell_client" error means OpenCode is rejecting a name it never offered to the model.
In #56193 the reporter traced the cause to a relay between OpenCode and the model, 9Router. On Windows clients, 9Router renames OpenCode's shell tool to shell_client and tells the model that shell is a placeholder it shouldn't call. The fix is tracked upstream in decolua/9router#4971 (fix in decolua/9router#4972). Until that ships, these workarounds should help:
a small plugin that registers shell_client and forwards calls to shell, or
an AGENTS.md note telling the model to always call shell.
Possible duplicates and related issues, ordered by likelihood:
If you're not using 9Router or another OpenAI-compatible relay or proxy, please reply with your provider and model, including the npm package and baseURL from your config, with API keys removed. Otherwise the bot will close this issue as a duplicate in 1 day.
We haven't heard back, so I'm closing this as a duplicate of #56193. That issue has the same No tool named "shell_client" error on Windows 11. Its cause was the 9Router relay renaming OpenCode's shell tool to shell_client, and the fix is tracked upstream in decolua/9router#4971.
If you aren't using 9Router or another relay or proxy, please comment with your provider, model, npm package and baseURL (no API keys), and we'll take another look.
Activity
opencode-agent commentedon Oct 18, 2026
Thanks for the report, @sayberwar.
I think this is a duplicate of #56193. OpenCode doesn't register a tool called
shell_client; its only shell tool isshell. So theNo tool named "shell_client"error means OpenCode is rejecting a name it never offered to the model.In #56193 the reporter traced the cause to a relay between OpenCode and the model, 9Router. On Windows clients, 9Router renames OpenCode's
shelltool toshell_clientand tells the model thatshellis a placeholder it shouldn't call. The fix is tracked upstream in decolua/9router#4971 (fix in decolua/9router#4972). Until that ships, these workarounds should help:shell_clientand forwards calls toshell, orAGENTS.mdnote telling the model to always callshell.Possible duplicates and related issues, ordered by likelihood:
shell_clienterror on Windows 11, caused by the 9Router relay renamingshellNo tool named …(plugin and Code Mode tools, so probably a different problem)If you're not using 9Router or another OpenAI-compatible relay or proxy, please reply with your provider and model, including the
npmpackage andbaseURLfrom your config, with API keys removed. Otherwise the bot will close this issue as a duplicate in 1 day.opencode-agent commentedon Oct 19, 2026
We haven't heard back, so I'm closing this as a duplicate of #56193. That issue has the same
No tool named "shell_client"error on Windows 11. Its cause was the 9Router relay renaming OpenCode'sshelltool toshell_client, and the fix is tracked upstream in decolua/9router#4971.If you aren't using 9Router or another relay or proxy, please comment with your provider, model,
npmpackage andbaseURL(no API keys), and we'll take another look.