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
namestringsearchAzureSearchResource indexName stringdescriptionstringoptionalReturns
FoundryToolboxResource Applies to
This method applies to the following types: