Class: A2A::AgentCapabilities

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/agent_capabilities.rb

Overview

Describes the capabilities of an agent.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#extensionsArray<AgentExtension>?

Returns A list of protocol extensions supported by the agent.

Returns:

  • (Array<AgentExtension>, nil)

    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_notificationsBoolean

Returns Indicates if the agent supports push notification mechanisms.

Returns:

  • (Boolean)

    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_historyBoolean

Returns Indicates if the agent supports providing state transition history.

Returns:

  • (Boolean)

    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)

#streamingBoolean

Returns Indicates if the agent supports streaming responses.

Returns:

  • (Boolean)

    Indicates if the agent supports streaming responses.



7
# File 'lib/a2a/types/agent_capabilities.rb', line 7

attribute? :streaming, Types::Bool.default(false)