Skip to content
Docs Try Aspire
Docs Try

addAISearchTool

Method
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addAISearchTool(
name: string,
indexName?: string): AzureAISearchToolResource;
}

Signature

method addAISearchTool builder
Adds an Azure AI Search tool to a Microsoft Foundry project, enabling agents to ground their responses using data from an Azure AI Search index.
addAISearchTool(
name: string,
indexName?: string): AzureAISearchToolResource
name string
indexName string optional
AzureAISearchToolResource

Applies to

This method applies to the following types: