nwc_pay_keysend
Send sats directly to a node pubkey via keysend, enabling spontaneous payments without an invoice.
Instructions
Send sats directly to a node pubkey via keysend (spontaneous payment, no invoice). Default-off — must be opt-in via NWC_KEYSEND_ENABLED=true. Power-user feature: no payment hash receipt, weaker safety surface than bolt11. Use bolt11 invoices when available. Runs the full safety pipeline (read-only gate, allowlist on pubkey, budget cap, optional two-step confirmation).
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": {
"pubkey": "<pubkey>",
"amount_sats": "<amount_sats>"
},
"name": "nwc_pay_keysend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Destination node's public key (33 bytes hex). | |
| amount_sats | Yes | Amount to send in satoshis. | |
| tlv_records | No | Optional TLV records (e.g., podcasting 2.0 metadata, LNURL-pay sender data). Empty/omitted is fine for most uses. |