peck_friends
Retrieve both outgoing and incoming friend connections for a BSV address to identify mutual friendships.
Instructions
Get the friend graph for a BSV address. Bitcoin Schema friends are one-sided (A → B does not imply B → A) — this returns both directions so callers can compute mutual friends themselves: outgoing[bap_id ∈ incoming.friender] = mutual.
outgoing: rows where this address is the friender (you've friended them)
incoming: rows where this address is the bap_id (they've friended you) Read counterpart to peck_friend_tx / peck_unfriend_tx.
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": {
"address": "<address>"
},
"name": "peck_friends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | BSV address to look up. |