diff --git a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py index 02e0c562654..5fd22424180 100644 --- a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py +++ b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py @@ -1052,6 +1052,9 @@ class LiteLLMAnthropicMessagesAdapter: new_kwargs["web_search_options"] = {} # type: ignore if not regular_tools: + # No regular tools left — drop tool_choice to avoid + # "tools are required when tool choice is specified" errors. + new_kwargs.pop("tool_choice", None) return {} translated_tools, tool_name_mapping = self.translate_anthropic_tools_to_openai(