Skip to content

Bash tool called with invalid arguments: "expected string, received undefined" for command and description fields #14519

Closed

Description

@demiryasin95

Description

Image

OpenCode version:
(npm opencode-ai)
OS: Windows
Model: claude-opus-4-6 (via custom provider)
Error:
The bash tool is called with invalid arguments:

  • command: expected string, received undefined
  • description: expected string, received undefined
    Steps to reproduce:
  1. Start opencode CLI
  2. Ask it to perform any task that requires running a shell command
  3. Tool call fails with schema validation error
    Expected behavior:
    Bash tool should receive valid string arguments for command and description fields.

Plugins

No response

OpenCode version

1.2.10

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Feb 21, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 21, 2026
  3. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions