FoundryToolboxResource.withAISearchTool
Method
interface FoundryToolboxResource { // ... omitted for brevity withAISearchTool( name: string, search: AzureSearchResource, indexName: string, description?: string): FoundryToolboxResource;}Signature
method
withAISearchTool builderAdds an Azure AI Search tool definition to the Toolbox.
withAISearchTool( name: string, search: AzureSearchResource, indexName: string, description?: string): FoundryToolboxResourceParameters
namestringThe tool name.searchAzureSearchResource The Azure AI Search resource backing the tool.indexName stringThe search index name.descriptionstringoptionalAn optional description of the Azure AI Search tool.Returns
FoundryToolboxResource Defined on
This method is defined on the following type: