sendDmNip04
Send encrypted direct messages on Nostr using NIP-04 protocol. Provide message content and recipient pubkey; optionally include private key or relays for publishing.
Instructions
Send a NIP-04 direct message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Message content | |
| recipientPubkey | Yes | Recipient pubkey (hex or npub) | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish to |