nwc_make_invoice
Generate a Bolt11 Lightning invoice for a specified amount in satoshis to request payment. Returns the invoice string and payment hash without moving funds.
Instructions
Create a bolt11 Lightning invoice for the given amount in sats. Safe — does not move funds; only generates a payment request. Returns the bolt11 string and payment hash.
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": {
"amount_sats": "<amount_sats>"
},
"name": "nwc_make_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_sats | Yes | Invoice amount in satoshis. | |
| description | No | Memo / description shown to the payer. | |
| expiry_seconds | No | Invoice expiry in seconds (defaults to wallet's setting). |