decode_invoice
Decode a BOLT11 Lightning invoice to inspect payment details including amount, expiry, and destination before authorizing payment.
Instructions
Decode a Lightning invoice to inspect amount, expiry, destination before paying
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": "decode_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | BOLT11 Lightning invoice to decode |