AgentFileSkillScript Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
Methods
| Name | Description |
|---|---|
| RunAsync(AgentSkill, Nullable<JsonElement>, IServiceProvider, CancellationToken) |
Runs the script with the given arguments. |