Class: A2A::AgentInterface
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::AgentInterface
- 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
-
#transport ⇒ String
The transport protocol supported at this URL.
-
#url ⇒ URI
The URL where this interface is available.
Methods included from Extensions::CaseTransformation
Instance Method Details
#transport ⇒ String
Returns The transport protocol supported at this URL.
11 |
# File 'lib/a2a/types/agent_interface.rb', line 11 attribute :transport, Types::String |
#url ⇒ URI
Returns 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 |