AgentSkillScript Class

Definition

Abstract base class for skill scripts. A script represents an executable action associated with a skill.

public abstract class AgentSkillScript
type AgentSkillScript = class
Public MustInherit Class AgentSkillScript
Inheritance
AgentSkillScript
Derived

Constructors

Name Description
AgentSkillScript(String, String)

Initializes a new instance of the AgentSkillScript class.

Properties

Name Description
Description

Gets the optional script description.

Name

Gets the script name.

ParametersSchema

Gets the JSON schema describing the parameters accepted by this script, or null if not available.

Methods

Name Description
RunAsync(AgentSkill, Nullable<JsonElement>, IServiceProvider, CancellationToken)

Runs the script with the given arguments.

Applies to