MessageSendConfiguration

data class MessageSendConfiguration @JvmOverloads constructor(val acceptedOutputModes: List<String>? = null, val historyLength: Int? = null, val pushNotificationConfig: PushNotificationConfig? = null, val blocking: Boolean? = null)(source)

Defines configuration options for a message/send or message/stream request.

According to the A2A specification, this provides optional configuration parameters that control how the agent handles the message sending request.

See also

Constructors

Link copied to clipboard
constructor(acceptedOutputModes: List<String>? = null, historyLength: Int? = null, pushNotificationConfig: PushNotificationConfig? = null, blocking: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

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

A list of output MIME types the client is prepared to accept in the response.

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

If true, the client will wait for the task to complete. The server may reject this if the task is long-running.

Link copied to clipboard
@SerialName(value = "historyLength")
val historyLength: Int?

The number of most recent messages from the task's history to retrieve in the response.

Link copied to clipboard
@SerialName(value = "pushNotificationConfig")
val pushNotificationConfig: PushNotificationConfig?

Configuration for the agent to send push notifications for updates after the initial response.