[BUG] Claude Code分析文件目录时报错
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?
API Error: 400 {"error":{"type":"invalid_request_error","message":"failed to convert tool result content: unsupported content type in ContentBlockParamUnion: ───
──tool_reference"},"request_id":"0331668c-1843-11f1-8320-bec2930331dc","type":"error"}
What Should Happen?
API Error: 400 {"error":{"type":"invalid_request_error","message":"failed to convert tool result content: unsupported content type in ContentBlockParamUnion: ───
──tool_reference"},"request_id":"0331668c-1843-11f1-8320-bec2930331dc","type":"error"}
Error Messages/Logs
API Error: 400 {"error":{"type":"invalid_request_error","message":"failed to convert tool result content: unsupported content type in ContentBlockParamUnion: ───
──tool_reference"},"request_id":"0331668c-1843-11f1-8320-bec2930331dc","type":"error"}
Steps to Reproduce
API Error: 400 {"error":{"type":"invalid_request_error","message":"failed to convert tool result content: unsupported content type in ContentBlockParamUnion: ───
──tool_reference"},"request_id":"0331668c-1843-11f1-8320-bec2930331dc","type":"error"}
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.69 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗