pay_invoice
Pay a Lightning invoice from a chosen BTC or USD wallet using a bolt11 payment request; the invoice must include the amount to send.
Instructions
Pay a Lightning invoice. The invoice amount must be specified in the invoice.
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>"
},
"name": "pay_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo to attach to the payment | |
| wallet_id | Yes | The wallet ID to pay from (BTC or USD) | |
| payment_request | Yes | The bolt11 payment request to pay |