Create Lightning Invoice
create_invoiceGenerate a Lightning invoice to request a payment in satoshis, optionally including a memo.
Instructions
Create a Lightning invoice to receive a payment.
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": {
"amountSats": "<amountSats>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amountSats | Yes | Amount in satoshis | |
| description | No | Invoice description / memo |