The bash tool was called with invalid arguments: #7325

Open
opened 2026-02-16 18:06:50 -05:00 by yindo · 1 comment
Owner

Originally created by @AllenXu520 on GitHub (Jan 23, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The bash tool was called with invalid arguments: [ { "expected": "string", "code": "invalid_type", "path": [ "command" ], "message": "Invalid input: expected string, received undefined" }, { "expected": "string", "code": "invalid_type", "path": [ "description" ], "message": "Invalid input: expected string, received undefined" } ]. Please rewrite the input so it satisfies the expected schema.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @AllenXu520 on GitHub (Jan 23, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The bash tool was called with invalid arguments: [ { "expected": "string", "code": "invalid_type", "path": [ "command" ], "message": "Invalid input: expected string, received undefined" }, { "expected": "string", "code": "invalid_type", "path": [ "description" ], "message": "Invalid input: expected string, received undefined" } ]. Please rewrite the input so it satisfies the expected schema. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:06:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

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

  • #2132: Invalid input for tool bash: Type validation failed - similar bash tool validation errors
  • #7512: Tools with array/object parameters fail when LLM sends stringified JSON - related to invalid type arguments being passed to tools
  • #9020: Claude models fail on MCP tools with no required parameters (undefined vs {}) - related to undefined/invalid arguments being passed

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #2132: Invalid input for tool bash: Type validation failed - similar bash tool validation errors - #7512: Tools with array/object parameters fail when LLM sends stringified JSON - related to invalid type arguments being passed to tools - #9020: Claude models fail on MCP tools with no required parameters (undefined vs {}) - related to undefined/invalid arguments being passed Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7325