AgentSkill class

AgentSkill represents a unit of action/solution that the agent can perform.

One can think of this as a type of highly reliable solution that an agent can be tasked to provide. Agents have the autonomy to choose how and when to use specific skills, but clients should have confidence that if the skill is defined that unit of action can be reliably performed.

Constructors

AgentSkill({String? description, List<String>? examples, String? id, List<String>? inputModes, String? name, List<String>? outputModes, List<Security>? security, List<String>? tags})
AgentSkill.fromJson(Map json_)

Properties

description ↔ String?
A human (or llm) readable description of the skill details and behaviors.
getter/setter pair
examples ↔ List<String>?
A set of example queries that this skill is designed to address.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
Unique identifier of the skill within this agent.
getter/setter pair
inputModes ↔ List<String>?
Possible input modalities supported.
getter/setter pair
name ↔ String?
A human readable name for the skill.
getter/setter pair
outputModes ↔ List<String>?
Possible output modalities produced
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
security ↔ List<Security>?
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill.
getter/setter pair
tags ↔ List<String>?
A set of tags for the skill to enhance categorization/utilization.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited