AgentTerminationToEnvironmentMessage

@Serializable
@SerialName(value = "TERMINATION")
data class AgentTerminationToEnvironmentMessage(val sessionUuid: Uuid, val content: AgentToolCallToEnvironmentContent? = null, val error: AgentServiceError? = null) : AgentToEnvironmentMessage(source)

Represents a termination message sent on behalf of the server. Indicates that the server has no further actions for the client to perform, and is usually accompanied by the final result of the inquiry. Can also be received as an acknowledgement of a client-initiated termination, in which case the result will be absent.

Constructors

Link copied to clipboard
constructor(sessionUuid: Uuid, content: AgentToolCallToEnvironmentContent? = null, error: AgentServiceError? = null)

Properties

Link copied to clipboard

Optional content of the message.

Link copied to clipboard

Optional error details.

Link copied to clipboard
open override val sessionUuid: Uuid

Unique identifier for the session.