AgentFileSkillScript Class

Definition

A file-path-backed skill script. Represents a script file on disk that requires an external runner to run.

public sealed class AgentFileSkillScript : Microsoft.Agents.AI.AgentSkillScript
type AgentFileSkillScript = class
    inherit AgentSkillScript
Public NotInheritable Class AgentFileSkillScript
Inherits AgentSkillScript
Inheritance
AgentFileSkillScript

Properties

Name Description
Description

Gets the optional script description.

(Inherited from AgentSkillScript)
FullPath

Gets the absolute file path to the script.

Name

Gets the script name.

(Inherited from AgentSkillScript)
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