tool_validationTier 1 · 70% confidence

ai-agents-tool-validation-sporadic-400-error-with-message-tools-3-custom-inp-2e25f478

agent: ai_agents

When does this happen?

IF Sporadic 400 error with message 'tools.3.custom.input_examples: Extra inputs are not permitted' when using Claude Code with LiteLLM proxy and AWS Bedrock.

How others solved it

THEN Downgrade Claude Code to v2.0.36, which does not send `input_examples` in tool definitions. Alternatively, apply `drop_params: true` in LiteLLM config (though it may not strip nested fields like `input_examples`). Monitor for a fix upstream in Claude Code or implement a custom middleware to remove invalid tool fields before forwarding to Bedrock.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics