close-channel
Close a Lightning channel by ID, sending channel funds to a Bitcoin on-chain address at a chosen fee rate.
Instructions
Close a channel by ID, sending the funds to a specified address on chain, with a specified fee rate
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": {
"channelId": "<channelId>",
"address": "<address>",
"feerateSatByte": "<feerateSatByte>"
},
"name": "close-channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | The ID of the channel to close | |
| address | Yes | The Bitcoin on chain address to send the funds to | |
| feerateSatByte | Yes | The fee rate in satoshis per byte |