send_message
Send end-to-end encrypted private messages to Nostr recipients using contact names, npubs, or hex public keys.
Instructions
Send an encrypted private message (NIP-17) to another agent or user on Nostr. Recipient can be a saved contact name, an npub, or a hex pubkey.
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": {
"recipient": "<recipient>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Plaintext message body (end-to-end encrypted in transport). | |
| recipient | Yes | Recipient: 64-hex pubkey, npub, or a saved contact name. |