AzureCognitiveServicesProjectResource.addAISearchTool
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity addAISearchTool( name: string, indexName?: string): AzureAISearchToolResource;}Signature
method
addAISearchTool builderAdds 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
namestringThe name of the tool resource.indexName stringoptionalOptional name of the search index to query. If not specified, the agent must be told which index to use.Returns
AzureAISearchToolResource Defined on
This method is defined on the following type: