send_message
Send a message to an A2A agent, specifying the agent URL and message content. Optionally include a session ID for multi-turn conversations. Receive the agent's response with a task ID for tracking.
Instructions
Send a message to an A2A agent.
Args: agent_url: URL of the A2A agent message: Message to send session_id: Optional session ID for multi-turn conversations
Returns: Agent's response with task_id for future reference
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agent_url | Yes | ||
message | Yes | ||
session_id | No |
Input Schema (JSON Schema)
{
"properties": {
"agent_url": {
"title": "Agent Url",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Session Id"
}
},
"required": [
"agent_url",
"message"
],
"type": "object"
}