SendMessageResponse

data class SendMessageResponse(val jsonrpc: String = "2.0", val id: RequestId? = null, val result: Task? = null, val error: JSONRPCError? = null)(source)

JSON-RPC 2.0 response for the message/send method in the A2A protocol.

Contains the task information created by sending a message to an agent. The task represents the work being performed by the agent in response to the message.

See also

Constructors

Link copied to clipboard
constructor(jsonrpc: String = "2.0", id: RequestId? = null, result: Task? = null, error: JSONRPCError? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "error")
val error: JSONRPCError?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "jsonrpc")
val jsonrpc: String
Link copied to clipboard
@SerialName(value = "result")
val result: Task?