AI Agents · Class
WebSearchTool
WebSearchTool lets an OpenAI model in a Microsoft Foundry project search the internet for current information and sources. Bind it to the model so it can use web search during inference.
Last updated
Syntax
WebSearchTool(search_context_size=None, user_location=None, filters=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CodeInterpreterToolFileSearchToolImageGenerationToolMcpToolAzureOpenAIModelImageGenToolAzureOpenAITranscriptionsToolAzureAIProjectToolbox