pay-invoice
Pay a bolt11 Lightning invoice with an optional custom amount or send the entire wallet balance.
Instructions
Pay a bolt11 invoice with a specified amount and description
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": {
"invoice": "<invoice>"
},
"name": "pay-invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | The bolt11 invoice to pay. | |
| amountSat | No | The amount to pay, in satoshi. If not set, will pay the amount requested in the invoice. Mutually exclusive with sendAll. | |
| sendAll | No | If true, empties the wallet. Mutually exclusive with amountSat. |