Class RunSkillStep
A WorkflowFramework step that invokes a Semantic Kernel skill (prompt) against the configured LLM with auto-tool-calling enabled.
public sealed class RunSkillStep : IStep<AgentWorkflowData>
- Inheritance
-
RunSkillStep
- Implements
-
IStep<AgentWorkflowData>
- Inherited Members
Constructors
RunSkillStep(string, string)
public RunSkillStep(string name, string skillPrompt)
Parameters
namestringHuman-readable step name.
skillPromptstringPrompt template for this skill. Use
{prompt}to reference the workflow's input prompt, and{previous}for the prior step's output.
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.