AgentCapabilities

data class AgentCapabilities(val extensions: List<AgentExtension>? = null, val streaming: Boolean = false, val pushNotifications: Boolean = false, val stateTransitionHistory: Boolean = false)(source)

Defines optional capabilities supported by an agent.

Constructors

Link copied to clipboard
constructor(extensions: List<AgentExtension>? = null, streaming: Boolean = false, pushNotifications: Boolean = false, stateTransitionHistory: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "extensions")
val extensions: List<AgentExtension>?

A list of protocol extensions supported by the agent.

Link copied to clipboard
@SerialName(value = "pushNotifications")
val pushNotifications: Boolean

Indicates if the agent supports sending push notifications for asynchronous task updates.

Link copied to clipboard
@SerialName(value = "stateTransitionHistory")
val stateTransitionHistory: Boolean

Indicates if the agent provides a history of state transitions for a task.

Link copied to clipboard
@SerialName(value = "streaming")
val streaming: Boolean

Indicates if the agent supports Server-Sent Events (SSE) for streaming responses.