set_friend_add_request
Approve or reject incoming friend requests using a one-time flag, deciding whether to accept or decline the request and update both users' friend relationship.
Instructions
同意或拒绝好友申请。会改变双方的好友关系。
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": {
"flag": "<flag>"
},
"name": "set_friend_add_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | 申请事件的 flag:来自好友申请事件,是一次性句柄,别自己编 | |
| approve | No | true=同意,false=拒绝,默认 true |