claude-agent-sdk-python icon indicating copy to clipboard operation
claude-agent-sdk-python copied to clipboard

<tool_use_error>InputValidationError

Open xuke007 opened this issue 2 months ago • 1 comments

When I use the Python SDK, I frequently encounter an <tool_use_error> InputValidationError: Write failed due to the following issues: The required parameter file_path is missing The required parameter content is missing An unexpected parameter raw_arguments was provided </tool_use_error> error when calling tool write/edit functions, and it often self-repairs this error many times. What is this problem?

Claude CLI version: 1.0.68 Python SDK version: 0.0.19 macOS 15.0

xuke007 avatar Aug 06 '25 06:08 xuke007