MessageSendParams

data class MessageSendParams @JvmOverloads constructor(val message: Message, val configuration: MessageSendConfiguration? = null, val metadata: Metadata? = null)(source)

Parameters for sending a message to an agent using the A2A protocol's message/send method.

According to the A2A specification, this represents the parameters for the core message sending functionality that enables agent-to-agent communication.

See also

Constructors

Link copied to clipboard
constructor(message: Message, configuration: MessageSendConfiguration? = null, metadata: Metadata? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "configuration")
val configuration: MessageSendConfiguration?

Optional configuration for the send request. Controls aspects like blocking behavior, history length, and output modes.

Link copied to clipboard
@SerialName(value = "message")
val message: Message

The message to send to the agent. Contains the actual content including text, files, or structured data parts.

Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Metadata?

Optional metadata for extensions. Provides a way to include additional data that may be used by extensions or specific implementations.