删除好友
open_friend_deleteRemove a WeChat friend from your PushPlus contacts by providing their friendId. Deletes unwanted contacts to keep your friend list clean.
Instructions
GET /open/friend/deleteFriend - 高风险:删除好友。 请求(url): friendId(好友id,必填;来自好友列表 friendId)。 统一响应: code(数字,200成功), msg(字符串), data(业务数据)。
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": {
"friendId": "<friendId>"
},
"name": "open_friend_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 微信公众号Id(可选) | |
| friendId | Yes | 好友id(好友列表的 friendId 字段) |