DefaultFoundryToolCatalog.FetchToolsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- tools
- IReadOnlyList<FoundryTool>
- userInfo
- UserInfo
- cancellationToken
- CancellationToken