CachedFoundryToolCatalog.GetAsync(Object, CancellationToken) 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.
Gets a single resolved tool by its definition.
public System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Models.ResolvedFoundryTool?> GetAsync(object tool, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Models.ResolvedFoundryTool>
override this.GetAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Models.ResolvedFoundryTool>
Public Function GetAsync (tool As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResolvedFoundryTool)
Parameters
- tool
- Object
- cancellationToken
- CancellationToken