Class: A2A::AgentExtension

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

Overview

A declaration of a protocol extension supported by an Agent.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#descriptionString?

Returns A human-readable description of how this agent uses the extension.

Returns:

  • (String, nil)

    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

#paramsHash?

Returns Optional, extension-specific configuration parameters.

Returns:

  • (Hash, nil)

    Optional, extension-specific configuration parameters.



17
# File 'lib/a2a/types/agent_extension.rb', line 17

attribute? :params, Types::Hash.optional

#requiredBoolean

Returns If true, the client must understand and comply with the extension’s requirements to interact with the agent.

Returns:

  • (Boolean)

    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)

#uriURI

Returns The unique URI identifying the extension.

Returns:

  • (URI)

    The unique URI identifying the extension.



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

attribute :uri, Types::URI