How to disable web_search tool being auto-selected in Azure Foundry when an agent is created

Guo, Jianning 145 Reputation points
2026-11-09T18:29:57.2533333+00:00

We are currently testing Foundry in our sandbox environment.  When a user builds a new Text agent within Foundry project via the following steps captured in the screenshot below, the new agent will be created with web_search as default tool. 

User's image

User's image

Since web_search uses Grounding with Bing, it creates additional cost which is currently not approved in our enterprise environment.

We have tried implementing the following two methods at subscription level to block the usage of the web_search tool without any success.

User's image

    1. Disable web search via Azure CLI – based on Azure document - Use web search tool in Foundry Agent Service - Microsoft Foundry | Microsoft Learn
    2. az feature register --name OpenAI.BlockedTools.web_search --namespace Microsoft.CognitiveServices --subscription "<subscription-id>"

None of the above methods blocks the agent selecting web_search as default tool during creation time.  Has anyone run into this scenario and has a workable solution to suggest?

We only using gpt-5-mini model in our Foundry environment.

Thanks,

Jane

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


Your answer

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