message/send
Send synchronous messages to A2A agents and receive immediate responses
Overview
The message/send
method is the primary way to communicate with A2A agents synchronously. Send a message and receive a complete response in a single HTTP request.
Synchronous Communication: This method blocks until the agent provides a complete response. For streaming responses, use message/stream
instead.
Request
Headers
Must be application/json
Your API key for authentication
Path Parameters
Unique identifier of the target agent
Body Parameters
JSON-RPC version, must be "2.0"
Unique identifier for this request (for response correlation)
Must be "message/send"
Message parameters object
Response
Success Response
JSON-RPC version, always "2.0"
Result object containing the agent’s response
Request ID (matches the request ID)
Error Response
JSON-RPC version, always "2.0"
Error information
Request ID (matches the request ID)