[BUG] [WINDOWS] JSON object parameters

Resolved 💬 3 comments Opened May 19, 2026 by mahuimin16 Closed May 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When the model generates tool calls with JSON object parameters (e.g., Bash command + description as a JSON object), the VSCode extension rejects them with:

InputValidationError: required parameter command

The call works when a single string parameter is passed, but fails when the tool call uses structured JSON object parameters. This affects Bash, Write, Read, Agent, and other tools.

What Should Happen?

Let the claude read and write normally.

Error Messages/Logs

Steps to Reproduce

any conversation where the model outputs tool calls using JSON-formatted parameter values.

Claude Model

Other

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.131

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗