diff --git a/libs/partners/anthropic/langchain_anthropic/chat_models.py b/libs/partners/anthropic/langchain_anthropic/chat_models.py index 842d30ae00da3..af7045d74aeb2 100644 --- a/libs/partners/anthropic/langchain_anthropic/chat_models.py +++ b/libs/partners/anthropic/langchain_anthropic/chat_models.py @@ -982,7 +982,7 @@ class GetPrice(BaseModel): ) else: kwargs["tool_choice"] = { - "type": "any", + "type": "auto", "disable_parallel_tool_use": disable_parallel_tool_use, }