pay_lightning_invoice
Pay any BOLT-11 Lightning invoice from the agent wallet and return the cryptographic preimage and routing fee.
Instructions
Autonomously pay any BOLT-11 Lightning invoice from the agent wallet and return cryptographic preimage and routing fee.
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_lightning_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | BOLT-11 Lightning invoice string (starts with lnbc...) |