AzureAISearchToolResource Properties
Class Properties 2 members
A Foundry tool resource that grounds an agent's responses using data from an Azure AI Search index.
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; } Gets or sets the Azure AI Search resource backing this tool. Set by
PromptAgentBuilderExtensions.WithReference. public AzureSearchResource? SearchResource { get; }