Skip to content

"shell_client" tool is unavailable after latest update #56794

Closed as duplicate

Description

@sayberwar

Description

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.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

OpenCode Destop CLI

Activity

  1. opencode-agent commented on Oct 18, 2026

    @opencode-agent
    Contributor

    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 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.

  2. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions