AgentSkillFrontmatter(String, String, String) Constructor
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.
Initializes a new instance of the AgentSkillFrontmatter class.
public AgentSkillFrontmatter(string name, string description, string? compatibility = default);
new Microsoft.Agents.AI.AgentSkillFrontmatter : string * string * string -> Microsoft.Agents.AI.AgentSkillFrontmatter
Public Sub New (name As String, description As String, Optional compatibility As String = Nothing)
Parameters
- name
- String
Skill name in kebab-case.
- description
- String
Skill description for discovery.
- compatibility
- String
Optional compatibility information (max 500 chars).
Exceptions
Thrown when name, description, or compatibility violates the
Agent Skills specification rules.