DefaultFoundryToolInvocationResolver.ResolveAsync 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.
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