sendMessage
Sends 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.
Return
The response containing the created task with assigned ID and initial status.
Parameters
params
The parameters for sending the message, including the message content.
See also
Sends a message to an agent using a pre-constructed request object.
This method allows for more control over the request, including setting a custom request ID and complete request parameters.
Return
The response containing the created task with assigned ID and initial status.
Parameters
request
The fully constructed message request containing ID and parameters.