addWebSearchTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
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

Applies to

This method applies to the following types: