create_invoice
Generate a BOLT11 invoice to receive Bitcoin Lightning payments, specifying amount in satoshis with optional memo and expiry settings.
Instructions
Create a Lightning invoice to receive a payment. Returns a BOLT11 invoice string to share with the payer.
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 |
|---|---|---|---|
| amount_sats | Yes | Amount to receive in satoshis | |
| memo | No | Optional description/memo for the invoice | |
| expiry_secs | No | Invoice expiry time in seconds. Defaults to 3600 (1 hour) |