Share via


DefaultFoundryToolInvocationResolver.ResolveAsync Method

Definition

Resolves a tool definition to an invoker capable of executing it.

public System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Runtime.Invocation.IFoundryToolInvoker> ResolveAsync(object tool, System.Threading.CancellationToken cancellationToken = default);
abstract member ResolveAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Runtime.Invocation.IFoundryToolInvoker>
override this.ResolveAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Runtime.Invocation.IFoundryToolInvoker>
Public Function ResolveAsync (tool As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFoundryToolInvoker)

Parameters

tool
Object
cancellationToken
CancellationToken

Returns

Implements

Applies to