agent_send_message
Send an end-to-end encrypted message to another agent using their decentralized identifier (DID). Messages are encrypted and signed for secure agent-to-agent communication.
Instructions
Send an E2E encrypted message to another agent by DID. Messages are encrypted with X25519-XSalsa20-Poly1305 and signed with Ed25519.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"to_did": "<to_did>",
"message": "<message>"
},
"name": "agent_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your agent API key (from registration) | |
| to_did | Yes | Recipient agent DID (e.g., did:voidly:xxx) | |
| message | Yes | Message content to send (will be encrypted) | |
| thread_id | No | Optional thread ID for conversation tracking |