Class: A2A::AgentSkill
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::AgentSkill
- Defined in:
- lib/a2a/types/agent_skill.rb
Overview
Defines a specific skill or capability offered by an agent.
Instance Method Summary collapse
-
#description ⇒ String?
Optional description of the skill.
-
#examples ⇒ Array<String>?
Optional list of example inputs or use cases for the skill.
-
#id ⇒ String
Unique identifier for the skill.
-
#input_modes ⇒ Array<String>?
Optional list of input modes supported by this skill, overriding agent defaults.
-
#name ⇒ String
Human-readable name of the skill.
-
#output_modes ⇒ Array<String>?
Optional list of output modes supported by this skill, overriding agent defaults.
-
#tags ⇒ Array<String>?
Optional list of tags associated with the skill for categorization.
Methods included from Extensions::CaseTransformation
Instance Method Details
#description ⇒ String?
Returns Optional description of the skill.
13 |
# File 'lib/a2a/types/agent_skill.rb', line 13 attribute? :description, Types::String.optional |
#examples ⇒ Array<String>?
Returns Optional list of example inputs or use cases for the skill.
19 |
# File 'lib/a2a/types/agent_skill.rb', line 19 attribute? :examples, Types::Array.of(Types::String).optional |
#id ⇒ String
Returns Unique identifier for the skill.
7 |
# File 'lib/a2a/types/agent_skill.rb', line 7 attribute :id, Types::String |
#input_modes ⇒ Array<String>?
Returns Optional list of input modes supported by this skill, overriding agent defaults.
22 |
# File 'lib/a2a/types/agent_skill.rb', line 22 attribute? :input_modes, Types::Array.of(Types::String).optional |
#name ⇒ String
Returns Human-readable name of the skill.
10 |
# File 'lib/a2a/types/agent_skill.rb', line 10 attribute :name, Types::String |
#output_modes ⇒ Array<String>?
Returns Optional list of output modes supported by this skill, overriding agent defaults.
25 |
# File 'lib/a2a/types/agent_skill.rb', line 25 attribute? :output_modes, Types::Array.of(Types::String).optional |
#tags ⇒ Array<String>?
Returns Optional list of tags associated with the skill for categorization.
16 |
# File 'lib/a2a/types/agent_skill.rb', line 16 attribute? :tags, Types::Array.of(Types::String).optional |