Class: A2A::AgentCapabilities
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::AgentCapabilities
- Defined in:
- lib/a2a/types/agent_capabilities.rb
Overview
Describes the capabilities of an agent.
Instance Method Summary collapse
-
#extensions ⇒ Array<AgentExtension>?
A list of protocol extensions supported by the agent.
-
#push_notifications ⇒ Boolean
Indicates if the agent supports push notification mechanisms.
-
#state_transition_history ⇒ Boolean
Indicates if the agent supports providing state transition history.
-
#streaming ⇒ Boolean
Indicates if the agent supports streaming responses.
Methods included from Extensions::CaseTransformation
Instance Method Details
#extensions ⇒ Array<AgentExtension>?
Returns A list of protocol extensions supported by the agent.
16 |
# File 'lib/a2a/types/agent_capabilities.rb', line 16 attribute? :extensions, Types::Array.of(Types::Constructor(AgentExtension)).optional |
#push_notifications ⇒ Boolean
Returns Indicates if the agent supports push notification mechanisms.
10 |
# File 'lib/a2a/types/agent_capabilities.rb', line 10 attribute? :push_notifications, Types::Bool.default(false) |
#state_transition_history ⇒ Boolean
Returns Indicates if the agent supports providing state transition history.
13 |
# File 'lib/a2a/types/agent_capabilities.rb', line 13 attribute? :state_transition_history, Types::Bool.default(false) |
#streaming ⇒ Boolean
Returns Indicates if the agent supports streaming responses.
7 |
# File 'lib/a2a/types/agent_capabilities.rb', line 7 attribute? :streaming, Types::Bool.default(false) |