SendMessageRequest

data class SendMessageRequest(val jsonrpc: String = "2.0", val id: RequestId? = null, val method: String = "message/send", val params: MessageSendParams) : A2ARequest(source)

JSON-RPC 2.0 request for sending a message to an agent using the A2A protocol's message/send method.

This is the primary method for agent-to-agent communication in the A2A protocol. It allows sending messages containing text, files, or structured data to another agent.

See also

Constructors

Link copied to clipboard
constructor(jsonrpc: String = "2.0", id: RequestId? = null, method: String = "message/send", params: MessageSendParams)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val id: RequestId?
Link copied to clipboard
@SerialName(value = "jsonrpc")
open override val jsonrpc: String
Link copied to clipboard
@SerialName(value = "method")
open override val method: String
Link copied to clipboard
@SerialName(value = "params")
val params: MessageSendParams