Class: A2A::AgentExtension
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::AgentExtension
- Defined in:
- lib/a2a/types/agent_extension.rb
Overview
A declaration of a protocol extension supported by an Agent.
Instance Method Summary collapse
-
#description ⇒ String?
A human-readable description of how this agent uses the extension.
-
#params ⇒ Hash?
Optional, extension-specific configuration parameters.
-
#required ⇒ Boolean
If true, the client must understand and comply with the extension’s requirements to interact with the agent.
-
#uri ⇒ URI
The unique URI identifying the extension.
Methods included from Extensions::CaseTransformation
Instance Method Details
#description ⇒ String?
Returns A human-readable description of how this agent uses the extension.
10 |
# File 'lib/a2a/types/agent_extension.rb', line 10 attribute? :description, Types::String.optional |
#params ⇒ Hash?
Returns Optional, extension-specific configuration parameters.
17 |
# File 'lib/a2a/types/agent_extension.rb', line 17 attribute? :params, Types::Hash.optional |
#required ⇒ Boolean
Returns If true, the client must understand and comply with the extension’s requirements to interact with the agent.
14 |
# File 'lib/a2a/types/agent_extension.rb', line 14 attribute? :required, Types::Bool.default(false) |
#uri ⇒ URI
Returns The unique URI identifying the extension.
7 |
# File 'lib/a2a/types/agent_extension.rb', line 7 attribute :uri, Types::URI |