Call via POST http://127.0.0.1:3000/share_peer (JSON params as the body) or WebSocket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
user_id |
uint | – | ||
group_id |
uint | – | ||
phone_number |
string | – | "" |
{ arkMsg }:服务端生成的推荐联系人 Ark 卡片 JSON 字符串。
Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.
| Field | Type | Required | Description |
|---|---|---|---|
arkMsg |
string | ✓ | Ark 卡片 JSON 字符串 |
MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.