pay_invoice_with_amount
Pays a Lightning invoice that has no amount by sending a specified amount in satoshis or cents from a chosen wallet.
Instructions
Pay a Lightning invoice that has no amount specified (open invoice). You specify the amount to send.
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": {
"wallet_id": "<wallet_id>",
"payment_request": "<payment_request>",
"amount": "<amount>"
},
"name": "pay_invoice_with_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo to attach to the payment | |
| amount | Yes | Amount in satoshis (BTC wallet) or cents (USD wallet) | |
| wallet_id | Yes | The wallet ID to pay from | |
| payment_request | Yes | The bolt11 payment request to pay |