Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureAISearchToolResource

Handle
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2

A Foundry tool resource that grounds an agent's responses using data from an Azure AI Search index.

type AzureAISearchToolResource interface {
Resource
}

Methods

methodWithReferencebuilder
Links an Azure AI Search tool to a backing search resource.
WithReference(search AzureSearchResource) AzureAISearchToolResource
searchAzureSearchResourceThe Azure AI Search resource to use for grounding.
AzureAISearchToolResource

The resource builder.

Returns a handle; failures surface later via Err().