Share via


DefaultFoundryToolCatalog.FetchToolsAsync Method

Definition

Fetches tool metadata from Azure AI services using the Foundry tool client.

protected override System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Core.Tools.Models.FoundryToolDetails>>> FetchToolsAsync(System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Core.Tools.Models.FoundryTool> tools, Azure.AI.AgentServer.Core.Tools.Models.UserInfo? userInfo, System.Threading.CancellationToken cancellationToken);
override this.FetchToolsAsync : System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Core.Tools.Models.FoundryTool> * Azure.AI.AgentServer.Core.Tools.Models.UserInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Core.Tools.Models.FoundryToolDetails>>>
Protected Overrides Function FetchToolsAsync (tools As IReadOnlyList(Of FoundryTool), userInfo As UserInfo, cancellationToken As CancellationToken) As Task(Of IReadOnlyDictionary(Of String, IReadOnlyList(Of FoundryToolDetails)))

Parameters

userInfo
UserInfo
cancellationToken
CancellationToken

Returns

Applies to