Share via


DefaultFoundryToolInvoker Class

Definition

Default implementation of IFoundryToolInvoker that wraps a resolved tool and provides invocation capability through the tool client.

public class DefaultFoundryToolInvoker : Azure.AI.AgentServer.Core.Tools.Runtime.Invocation.IFoundryToolInvoker
type DefaultFoundryToolInvoker = class
    interface IFoundryToolInvoker
Public Class DefaultFoundryToolInvoker
Implements IFoundryToolInvoker
Inheritance
DefaultFoundryToolInvoker
Implements

Constructors

Name Description
DefaultFoundryToolInvoker(ResolvedFoundryTool, FoundryToolClient)

Initializes a new instance of the DefaultFoundryToolInvoker class.

Properties

Name Description
ResolvedTool

Gets the resolved tool definition associated with this invoker.

Methods

Name Description
InvokeAsync(IDictionary<String,Object>, CancellationToken)

Invokes the tool with the given arguments.

Applies to