AgentSkillBuilder

Builder class for creating AgentSkill instances.

This builder provides a fluent API for creating AgentSkill objects, making it easier to configure agent skills.

Example usage:

val skill = AgentSkill.build {
id("skill-123")
name("Example Skill")
description("This is an example skill")
tags(listOf("example", "demo"))
examples(listOf("Example usage 1", "Example usage 2"))
inputModes(listOf("text"))
outputModes(listOf("text"))
security(listOf("oauth2", "api-key"))
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: String?
Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Builds an AgentSkill instance with the configured parameters.

Link copied to clipboard

Sets the description of the skill.

Link copied to clipboard

Sets the examples of the skill.

Link copied to clipboard

Sets the ID of the skill.

Link copied to clipboard

Sets the input modes of the skill.

Link copied to clipboard

Sets the name of the skill.

Link copied to clipboard

Sets the output modes of the skill.

Link copied to clipboard

Sets the security requirements of the skill.

Link copied to clipboard

Sets the tags of the skill.