Get Relay List
relay_list_getGet a user's NIP-65 relay list (kind 10002). Returns read and write relays for the specified pubkey. If no pubkey provided, uses the connected signer's pubkey.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "relay_list_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | No | Public key to fetch relay list for (defaults to connected signer) |