Class InvokeToolStep
A WorkflowFramework step that invokes a specific Semantic Kernel function by plugin/function name.
public sealed class InvokeToolStep : IStep<AgentWorkflowData>
- Inheritance
-
InvokeToolStep
- Implements
-
IStep<AgentWorkflowData>
- Inherited Members
Constructors
InvokeToolStep(string, string, string, IDictionary<string, string>?)
public InvokeToolStep(string name, string pluginName, string functionName, IDictionary<string, string>? arguments = null)
Parameters
Properties
Name
Gets the name of this step.
public string Name { get; }
Property Value
Methods
ExecuteAsync(IWorkflowContext<AgentWorkflowData>)
Executes this step with the given typed context.
public Task ExecuteAsync(IWorkflowContext<AgentWorkflowData> context)
Parameters
contextIWorkflowContext<AgentWorkflowData>The workflow context.
Returns
- Task
A task representing the asynchronous operation.