How fix {"error":{"code":"Bad Request","message":"{\"object\":\"error\",\"message\":\"\\\"auto\\\" tool choice requires --enable-auto-tool-choice and --tool-call-parser to be set\",\"type\":\"BadRequestError\",\"param\":null,\"code\":400} in AI Foundary

Asif Iqbal Khan 0 Reputation points
2025-03-09T17:03:40.39+00:00

I am making a Agentic AI application but the model of Azure AI foundary only giving me this error
{"error":{"code":"Bad Request","message":"{"object":"error","message":"\"auto\" tool choice requires --enable-auto-tool-choice and --tool-call-parser to be set","type":"BadRequestError","param":null,"code":400}","status":400}}

I am not able to figure it out. Help needed.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,226 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.