nostr_zap
Send Lightning payments to any Lightning address with optional Nostr zap receipts. Supports NIP-57 for proper zap receipts; falls back to standard payment if recipient does not support NIP-57. Requires a Nostr identity set in the agent key.
Instructions
Send a Nostr zap (NIP-57 Lightning payment with optional Nostr event). If the recipient supports NIP-57, a proper zap receipt is created. Otherwise falls back to a regular Lightning address payment. REQUIRES AGENT KEY with Nostr identity set.
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": {
"address": "<address>",
"amount_sats": "<amount_sats>"
},
"name": "nostr_zap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | Nostr relay URLs for zap receipt | |
| address | Yes | Lightning address to zap (user@domain.com) | |
| content | No | Optional zap comment/message | |
| event_id | No | Nostr event ID to attach zap to (hex format) | |
| amount_sats | Yes | Amount in satoshis to zap | |
| recipient_pubkey | No | Nostr hex pubkey of recipient (for NIP-57 zap receipt) |