Skip to content
Docs Try Aspire
Docs Try

AzureAISearchToolResource Properties

Class Properties 2 members
A Foundry tool resource that grounds an agent's responses using data from an Azure AI Search index.
IndexName Section titled IndexName nullable string?
Gets or sets the optional search index name to query. If not set, the tool will use a default or prompt-specified index at runtime.
public string? IndexName { get; set; }
SearchResource Section titled SearchResource nullable AzureSearchResource?
Gets or sets the Azure AI Search resource backing this tool. Set by PromptAgentBuilderExtensions.WithReference.
public AzureSearchResource? SearchResource { get; }