[Bug] Anthropic API Error: Invalid Tool Use Input Dictionary

Resolved 💬 7 comments Opened Aug 28, 2025 by epaynter Closed Jan 4, 2026

Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.61.content.0.tool_use.input: Input should be a valid
dictionary"},"request_id":"req_011CSZ9vSpZLrRWFouS5LoMX"}

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.94
  • Feedback ID: eafb8476-2be3-4788-8911-d9d7c102dfb3

Errors

[{"error":"Error: Request was aborted.\n    at _71._createMessage (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-27T23:35:26.352Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.61.content.0.tool_use.input: Input should be a valid dictionary\"},\"request_id\":\"req_011CSZ6WE6KXyajG6jtorHKw\"}\n    at j4.generate (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n    at DP.makeStatusError (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:943:2131)\n    at DP.makeRequest (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:943:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async uZ1.showErrors (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:27625)\n    at async uZ1 (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:16281)\n    at async gQB (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:27455)\n    at async file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:22405\n    at async AC0 (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:3314)\n    at async _e (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:22375)","timestamp":"2025-08-27T23:38:37.765Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.61.content.0.tool_use.input: Input should be a valid dictionary\"},\"request_id\":\"req_011CSZ9vSpZLrRWFouS5LoMX\"}\n    at j4.generate (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n    at DP.makeStatusError (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:943:2131)\n    at DP.makeRequest (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:943:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async uZ1.showErrors (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:27625)\n    at async uZ1 (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:16281)\n    at async gQB (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:27455)\n    at async file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:22405\n    at async AC0 (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:3314)\n    at async _e (file:///Users/eliotpaynter/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1901:22375)","timestamp":"2025-08-28T00:23:26.786Z"}]

View original on GitHub ↗

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