lightning_create_invoice
Generate Lightning Network invoices for AI agents to receive payments, enabling pay-per-call services with verifiable transaction records.
Instructions
Create a Lightning invoice. Price: 5 sat.
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": "lightning_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_sats | Yes | Invoice amount in sats | |
| description | No | Invoice description | |
| payment_preimage | No | Lightning payment preimage (64 hex chars) |