decryptNip44
Decrypt NIP-44 encrypted messages using sender's public key and your private key. Required for reading encrypted direct messages on Nostr.
Instructions
Decrypt NIP-44 ciphertext
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": {
"ciphertext": "<ciphertext>",
"senderPubkey": "<senderPubkey>"
},
"name": "decryptNip44"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ciphertext | Yes | NIP-44 encrypted text | |
| senderPubkey | Yes | Sender pubkey (hex or npub) | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. |