AgentInterface

data class AgentInterface(val transport: Transport, val url: String)(source)

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.

Constructors

Link copied to clipboard
constructor(transport: Transport, url: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "transport")
val transport: Transport

The transport protocol supported at this URL.

Link copied to clipboard
@SerialName(value = "url")
val url: String

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