wdk_connect_peer
Connect the RLN node to a Lightning peer using pubkey@host:port. Required before requesting an LSPS1 channel from KaleidoSwap LSP if not already connected.
Instructions
Connect the RLN node to a Lightning peer. Required before requesting an LSPS1 channel from the KaleidoSwap LSP — call this first if the LSP is not already a connected peer. Format: "@:".
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": {
"peer_pubkey_and_addr": "<peer_pubkey_and_addr>"
},
"name": "wdk_connect_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer_pubkey_and_addr | Yes | Peer connection string in format pubkey@host:port |