A unified Azure platform for creating and managing AI models, agents, and applications with built‑in enterprise security, monitoring, and governance
Hi Prashant, have you been able to resolve this?
If not, the specific error indicates that the deployment is rejecting automatic tool calling. Microsoft’s model catalog lists Phi-4 as not supporting tool calling. A successful chat-playground test therefore doesn’t establish compatibility with the agent request that is failing.
For a Foundry prompt agent, select a model marked as agent-supported that supports the tools you need for example, GPT-4.1-mini, if available in your project’s region. Update the agent to use that deployment and rerun the same test.
Microsoft also explains that an unsupported model/tool combination can pass agent creation and then fail at runtime:
If you still receive the same error with a supported deployment, share the selected model, region, and relevant agent configuration, we can dig further.