Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddWebSearchTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (AzureCognitiveServicesProjectResource) AddWebSearchTool(name string) WebSearchToolResource

Signature

methodAddWebSearchToolbuilder
Adds a Web Search tool to a Microsoft Foundry project, enabling agents to retrieve real-time information from the public web and return answers with inline citations.
AddWebSearchTool(name string) WebSearchToolResource
namestringThe name of the tool resource.
WebSearchToolResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: