addAISearchTool
Method
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): AzureAISearchToolResourceParameters
name string indexName string optional Returns
AzureAISearchToolResource Applies to
This method applies to the following types: