Class: A2A::AgentInterface

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

Overview

Declares a combination of a target URL and a transport protocol for interacting with the agent. This allows agents to expose the same functionality over multiple transport mechanisms.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#transportString

Returns The transport protocol supported at this URL.

Returns:

  • (String)

    The transport protocol supported at this URL.



11
# File 'lib/a2a/types/agent_interface.rb', line 11

attribute :transport, Types::String

#urlURI

Returns The URL where this interface is available. Must be a valid absolute HTTPS URL in production.

Returns:

  • (URI)

    The URL where this interface is available. Must be a valid absolute HTTPS URL in production.



8
# File 'lib/a2a/types/agent_interface.rb', line 8

attribute :url, Types::URI