Table of Contents

Class InvokeToolStep

Namespace
JD.AI.Workflows.Steps
Assembly
JD.AI.Workflows.dll

A WorkflowFramework step that invokes a specific Semantic Kernel function by plugin/function name.

public sealed class InvokeToolStep : IStep<AgentWorkflowData>
Inheritance
InvokeToolStep
Implements
Inherited Members

Constructors

InvokeToolStep(string, string, string, IDictionary<string, string>?)

public InvokeToolStep(string name, string pluginName, string functionName, IDictionary<string, string>? arguments = null)

Parameters

name string
pluginName string
functionName string
arguments IDictionary<string, string>

Properties

Name

Gets the name of this step.

public string Name { get; }

Property Value

string

Methods

ExecuteAsync(IWorkflowContext<AgentWorkflowData>)

Executes this step with the given typed context.

public Task ExecuteAsync(IWorkflowContext<AgentWorkflowData> context)

Parameters

context IWorkflowContext<AgentWorkflowData>

The workflow context.

Returns

Task

A task representing the asynchronous operation.