create_invoice
Generate a Lightning invoice to receive payment by specifying the amount in satoshis and an optional memo. Enables instant fund reception over the Lightning Network.
Instructions
Create a Lightning invoice to receive payment. Use get_invoice_status to check if paid.
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": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Description/memo for the invoice | |
| amount_sats | Yes | Amount in satoshis to request |