AgentSkill

data class AgentSkill(val id: String, val name: String, val description: String, val tags: List<String>, val examples: List<String>? = null, val inputModes: List<String>? = null, val outputModes: List<String>? = null, val security: List<Map<String, List<String>>>? = null)(source)

Represents a distinct capability or function that an agent can perform.

Constructors

Link copied to clipboard
constructor(id: String, name: String, description: String, tags: List<String>, examples: List<String>? = null, inputModes: List<String>? = null, outputModes: List<String>? = null, security: List<Map<String, List<String>>>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "description")
val description: String

A detailed description of the skill, intended to help clients or users understand its purpose and functionality.

Link copied to clipboard
@SerialName(value = "examples")
val examples: List<String>?

Example prompts or scenarios that this skill can handle. Provides a hint to the client on how to use the skill.

Link copied to clipboard
@SerialName(value = "id")
val id: String

A unique identifier for the agent's skill.

Link copied to clipboard
@SerialName(value = "inputModes")
val inputModes: List<String>?

The set of supported input MIME types for this skill, overriding the agent's defaults.

Link copied to clipboard
@SerialName(value = "name")
val name: String

A human-readable name for the skill.

Link copied to clipboard
@SerialName(value = "outputModes")
val outputModes: List<String>?

The set of supported output MIME types for this skill, overriding the agent's defaults.

Link copied to clipboard
@SerialName(value = "security")
val security: List<Map<String, List<String>>>?

Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND).

Link copied to clipboard
@SerialName(value = "tags")
val tags: List<String>

A set of keywords describing the skill's capabilities.